[99743] trunk/dports/graphics/ipe/Portfile
vince at macports.org
vince at macports.org
Thu Nov 15 12:01:38 PST 2012
Revision: 99743
https://trac.macports.org/changeset/99743
Author: vince at macports.org
Date: 2012-11-15 12:01:38 -0800 (Thu, 15 Nov 2012)
Log Message:
-----------
Allows universal builds
Modified Paths:
--------------
trunk/dports/graphics/ipe/Portfile
Modified: trunk/dports/graphics/ipe/Portfile
===================================================================
--- trunk/dports/graphics/ipe/Portfile 2012-11-15 16:33:06 UTC (rev 99742)
+++ trunk/dports/graphics/ipe/Portfile 2012-11-15 20:01:38 UTC (rev 99743)
@@ -33,8 +33,17 @@
use_configure no
-build.env CXXFLAGS="${configure.cxx_archflags}" \
+variant universal {
+}
+
+if {[variant_isset universal]} {
+ build.env CXXFLAGS="${configure.universal_cflags}" \
+ LDFLAGS="${configure.universal_cflags}"
+} else {
+
+ build.env CXXFLAGS="${configure.cxx_archflags}" \
LDFLAGS="${configure.ld_archflags}"
+}
build.args IPEPREFIX=${prefix} \
ZLIB_CFLAGS="`pkg-config --cflags zlib`" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121115/d03f10c0/attachment.html>
More information about the macports-changes
mailing list