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

jmr at macports.org jmr at macports.org
Sun Oct 26 05:56:13 PDT 2008


Revision: 41157
          http://trac.macports.org/changeset/41157
Author:   jmr at macports.org
Date:     2008-10-26 05:56:11 -0700 (Sun, 26 Oct 2008)
Log Message:
-----------
Apply global variants for all targets (#11897)

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

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-10-26 07:51:24 UTC (rev 41156)
+++ trunk/base/src/port/port.tcl	2008-10-26 12:56:11 UTC (rev 41157)
@@ -2454,13 +2454,11 @@
             set porturl $portinfo(porturl)
         }
         
-        # If this is the install target, add any global_variations to the variations
+        # Add any global_variations to the variations
         # specified for the port
-        if { $target == "install" } {
-            foreach { variation value } [array get global_variations] {
-                if { ![info exists variations($variation)] } {
-                    set variations($variation) $value
-                }
+        foreach { variation value } [array get global_variations] {
+            if { ![info exists variations($variation)] } {
+                set variations($variation) $value
             }
         }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081026/9aace70e/attachment.html>


More information about the macports-changes mailing list