[94620] trunk/dports/graphics/xv/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Jun 25 02:06:35 PDT 2012
Revision: 94620
https://trac.macports.org/changeset/94620
Author: ryandesign at macports.org
Date: 2012-06-25 02:06:33 -0700 (Mon, 25 Jun 2012)
Log Message:
-----------
xv: simplify getting -arch flags
Modified Paths:
--------------
trunk/dports/graphics/xv/Portfile
Modified: trunk/dports/graphics/xv/Portfile
===================================================================
--- trunk/dports/graphics/xv/Portfile 2012-06-25 04:49:14 UTC (rev 94619)
+++ trunk/dports/graphics/xv/Portfile 2012-06-25 09:06:33 UTC (rev 94620)
@@ -62,11 +62,6 @@
use_configure no
variant universal {}
-if {[variant_isset universal]} {
- set archflags ${configure.universal_cflags}
-} else {
- set archflags ${configure.cc_archflags}
-}
build.post_args PREFIX='${prefix}' \
ZLIBDIR='${prefix}' \
@@ -74,7 +69,7 @@
TIFFDIR='${prefix}' \
PNGDIR='${prefix}' \
CC='${configure.cc}' \
- CCOPTS='${configure.cflags} ${archflags}'
+ CCOPTS='${configure.cflags} [get_canonical_archflags cc]'
destroot.post_args PREFIX='${prefix}' DESTDIR='${destroot}'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120625/13dcc743/attachment.html>
More information about the macports-changes
mailing list