[59876] trunk/base/src/package1.0/portunarchive.tcl

jmr at macports.org jmr at macports.org
Sat Oct 24 23:27:36 PDT 2009


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

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

Modified: trunk/base/src/package1.0/portunarchive.tcl
===================================================================
--- trunk/base/src/package1.0/portunarchive.tcl	2009-10-25 05:53:40 UTC (rev 59875)
+++ trunk/base/src/package1.0/portunarchive.tcl	2009-10-25 06:27:32 UTC (rev 59876)
@@ -78,8 +78,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/13d21343/attachment.html>


More information about the macports-changes mailing list