[89028] trunk/dports/textproc/unsort/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 18 03:29:07 PST 2012


Revision: 89028
          http://trac.macports.org/changeset/89028
Author:   ryandesign at macports.org
Date:     2012-01-18 03:29:05 -0800 (Wed, 18 Jan 2012)
Log Message:
-----------
unsort: simplify getting -arch flags

Modified Paths:
--------------
    trunk/dports/textproc/unsort/Portfile

Modified: trunk/dports/textproc/unsort/Portfile
===================================================================
--- trunk/dports/textproc/unsort/Portfile	2012-01-18 10:13:55 UTC (rev 89027)
+++ trunk/dports/textproc/unsort/Portfile	2012-01-18 11:29:05 UTC (rev 89028)
@@ -28,9 +28,5 @@
 use_configure           no
 
 variant universal {}
-if {[variant_isset universal]} {
-    set archflags ${configure.universal_cflags}
-} else {
-    set archflags ${configure.cc_archflags}
-}
-build.args              CC="${configure.cc} ${archflags}"
+
+build.args              CC="${configure.cc} [get_canonical_archflags cc]"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120118/cfa5f5f8/attachment.html>


More information about the macports-changes mailing list