[82573] trunk/dports/devel/jam/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 15 13:46:38 PDT 2011


Revision: 82573
          http://trac.macports.org/changeset/82573
Author:   ryandesign at macports.org
Date:     2011-08-15 13:46:37 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
jam: simplify setting archflags

Modified Paths:
--------------
    trunk/dports/devel/jam/Portfile

Modified: trunk/dports/devel/jam/Portfile
===================================================================
--- trunk/dports/devel/jam/Portfile	2011-08-15 20:44:02 UTC (rev 82572)
+++ trunk/dports/devel/jam/Portfile	2011-08-15 20:46:37 UTC (rev 82573)
@@ -60,15 +60,9 @@
 use_configure no
 
 pre-build {
-    # set archflags into CFLAGS for compiling
-    set CFLAGS ${configure.cc_archflags}
-    if {[variant_isset universal]} {
-        set CFLAGS [join ${configure.universal_archs} " -arch "]
-        set CFLAGS "-arch ${CFLAGS}"
-    }
     build.cmd-append \
         CC="${configure.cc}" \
-        CFLAGS=\"${CFLAGS}\"
+        CFLAGS=\"[get_canonical_archflags]\"
 }
 
 # Installation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/8670e60a/attachment.html>


More information about the macports-changes mailing list