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

perry at macports.org perry at macports.org
Wed Jan 7 22:03:55 PST 2009


Revision: 45070
          http://trac.macports.org/changeset/45070
Author:   perry at macports.org
Date:     2009-01-07 22:03:54 -0800 (Wed, 07 Jan 2009)
Log Message:
-----------
port/port.tcl - action_variants displays variants in sorted order.

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

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2009-01-08 05:53:27 UTC (rev 45069)
+++ trunk/base/src/port/port.tcl	2009-01-08 06:03:54 UTC (rev 45070)
@@ -2259,7 +2259,7 @@
 
             # print out all the variants
             puts "$portname has the variants:"
-            foreach v $portinfo(variants) {
+            foreach v [lsort $portinfo(variants)] {
                 set mod ""
                 unset -nocomplain vconflicts vdescription vrequires
                 # Retrieve variants' information from the new format.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090107/cc843080/attachment.html>


More information about the macports-changes mailing list