[70484] trunk/dports/graphics/xv/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Aug 10 23:28:51 PDT 2010
Revision: 70484
http://trac.macports.org/changeset/70484
Author: ryandesign at macports.org
Date: 2010-08-10 23:28:50 -0700 (Tue, 10 Aug 2010)
Log Message:
-----------
xv: enable universal and non-default-buind_arch builds; see #26003 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/graphics/xv/Portfile
Modified: trunk/dports/graphics/xv/Portfile
===================================================================
--- trunk/dports/graphics/xv/Portfile 2010-08-11 05:18:45 UTC (rev 70483)
+++ trunk/dports/graphics/xv/Portfile 2010-08-11 06:28:50 UTC (rev 70484)
@@ -52,11 +52,20 @@
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}' \
JPEGDIR='${prefix}' \
TIFFDIR='${prefix}' \
PNGDIR='${prefix}' \
+ CC='${configure.cc}' \
+ CCOPTS='${configure.cflags} ${archflags}'
destroot.post_args PREFIX='${prefix}' DESTDIR='${destroot}'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100810/d1743384/attachment.html>
More information about the macports-changes
mailing list