[138508] trunk/dports/devel/flasm/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Jul 10 03:30:56 PDT 2015
Revision: 138508
https://trac.macports.org/changeset/138508
Author: ryandesign at macports.org
Date: 2015-07-10 03:30:56 -0700 (Fri, 10 Jul 2015)
Log Message:
-----------
flasm: use get_canonical_archflags
Modified Paths:
--------------
trunk/dports/devel/flasm/Portfile
Modified: trunk/dports/devel/flasm/Portfile
===================================================================
--- trunk/dports/devel/flasm/Portfile 2015-07-10 10:21:36 UTC (rev 138507)
+++ trunk/dports/devel/flasm/Portfile 2015-07-10 10:30:56 UTC (rev 138508)
@@ -37,14 +37,10 @@
use_configure no
-build.args CC=${configure.cc}
+variant universal {}
-variant universal {
- build.args-append CFLAGS="${configure.cflags} ${configure.universal_cflags}"
-}
-if {![variant_isset universal]} {
- build.args-append CFLAGS="${configure.cflags} ${configure.cc_archflags}"
-}
+build.args CC=${configure.cc} \
+ CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
destroot {
xinstall -W ${worksrcpath} flasm ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150710/d797630a/attachment.html>
More information about the macports-changes
mailing list