[53494] trunk/base/src/port1.0/portconfigure.tcl

jmr at macports.org jmr at macports.org
Mon Jul 6 18:17:00 PDT 2009


Revision: 53494
          http://trac.macports.org/changeset/53494
Author:   jmr at macports.org
Date:     2009-07-06 18:17:00 -0700 (Mon, 06 Jul 2009)
Log Message:
-----------
fix quoting of archflags (#20196)

Modified Paths:
--------------
    trunk/base/src/port1.0/portconfigure.tcl

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2009-07-07 01:09:15 UTC (rev 53493)
+++ trunk/base/src/port1.0/portconfigure.tcl	2009-07-07 01:17:00 UTC (rev 53494)
@@ -171,15 +171,15 @@
     # add in extra CFLAGS etc
     if {[variant_exists universal] && [variant_isset universal]} {
         foreach flag {cflags objcflags fflags f90flags fcflags} {
-            configure.${flag}-append ${configure.universal_cflags}
+            eval configure.${flag}-append ${configure.universal_cflags}
         }
-        configure.cxxflags-append ${configure.universal_cxxflags}
-        configure.cppflags-append ${configure.universal_cppflags}
-        configure.ldflags-append ${configure.universal_ldflags}
-        configure.pre_args-append ${configure.universal_args}
+        eval configure.cxxflags-append ${configure.universal_cxxflags}
+        eval configure.cppflags-append ${configure.universal_cppflags}
+        eval configure.ldflags-append ${configure.universal_ldflags}
+        eval configure.pre_args-append ${configure.universal_args}
     } else {
         foreach flag {cflags cxxflags objcflags fflags f90flags fcflags} {
-            configure.${flag}-append ${configure.archflags}
+            eval configure.${flag}-append ${configure.archflags}
             if {${configure.march} != {}} {
                 configure.${flag}-append "-march=${configure.march}"
             }
@@ -187,7 +187,7 @@
                 configure.${flag}-append "-mtune=${configure.mtune}"
             }
         }
-        configure.ldflags-append ${configure.archflags}
+        eval configure.ldflags-append ${configure.archflags}
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090706/918ec379/attachment-0001.html>


More information about the macports-changes mailing list