[59879] trunk/base/src/package1.0/portarchive.tcl

jmr at macports.org jmr at macports.org
Sat Oct 24 23:52:22 PDT 2009


Revision: 59879
          http://trac.macports.org/changeset/59879
Author:   jmr at macports.org
Date:     2009-10-24 23:52:20 -0700 (Sat, 24 Oct 2009)
Log Message:
-----------
match setting of portvariants in portarchive with that in canonicalize_variants

Modified Paths:
--------------
    trunk/base/src/package1.0/portarchive.tcl

Modified: trunk/base/src/package1.0/portarchive.tcl
===================================================================
--- trunk/base/src/package1.0/portarchive.tcl	2009-10-25 06:47:14 UTC (rev 59878)
+++ trunk/base/src/package1.0/portarchive.tcl	2009-10-25 06:52:20 UTC (rev 59879)
@@ -83,8 +83,8 @@
         set vlist [lsort -ascii [array names variations]]
         # Put together variants in the form +foo+bar for the archive name
         foreach v $vlist {
-            if { ![string equal $v [option os.platform]] && ![string equal $v [option os.arch]] } {
-                set portvariants "${portvariants}+${v}"
+            if {$variations($v) == "+"} {
+                append portvariants "+${v}"
             }
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091024/c10dc031/attachment.html>


More information about the macports-changes mailing list