[46989] trunk/base/src/port/port.tcl

perry at macports.org perry at macports.org
Thu Feb 19 00:44:04 PST 2009


Revision: 46989
          http://trac.macports.org/changeset/46989
Author:   perry at macports.org
Date:     2009-02-19 00:44:02 -0800 (Thu, 19 Feb 2009)
Log Message:
-----------
port/port.tcl - Use wrap to display the notes.

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2009-02-19 07:35:21 UTC (rev 46988)
+++ trunk/base/src/port/port.tcl	2009-02-19 08:44:02 UTC (rev 46989)
@@ -1741,9 +1741,7 @@
         # Display the notes.
         if {$portnotes ne {}} {
             puts "$portname has the following notes:"
-            # Indent the output.
-            puts -nonewline "  "
-            puts [string map {\n "\n  "} $portnotes]
+            puts [wrap $portnotes 0 "  " 1]
         } else {
             puts "$portname has no notes."
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090219/0bda41a9/attachment.html>


More information about the macports-changes mailing list