[133516] trunk/dports/devel/minipro/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Mar 3 11:31:33 PST 2015


Revision: 133516
          https://trac.macports.org/changeset/133516
Author:   ryandesign at macports.org
Date:     2015-03-03 11:31:33 -0800 (Tue, 03 Mar 2015)
Log Message:
-----------
minipro: use the right -arch flags, even for non-universal builds

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

Modified: trunk/dports/devel/minipro/Portfile
===================================================================
--- trunk/dports/devel/minipro/Portfile	2015-03-03 16:03:14 UTC (rev 133515)
+++ trunk/dports/devel/minipro/Portfile	2015-03-03 19:31:33 UTC (rev 133516)
@@ -29,13 +29,7 @@
 
 variant universal {}
 
-pre-build {
-    if {[variant_isset universal]} {
-        build.args-append CC="${configure.cc} ${configure.universal_cflags}"
-    } else {
-        build.args-append CC="${configure.cc}"
-    }
-}
+build.args-append   CC="${configure.cc} [get_canonical_archflags cc]"
 
 destroot {
     xinstall -W ${worksrcpath} ${name} ${name}-query-db ${name}hex ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150303/020a992f/attachment.html>


More information about the macports-changes mailing list