[74874] trunk/dports/print/ps2eps/Portfile
aschenke at macports.org
aschenke at macports.org
Wed Jan 5 00:56:41 PST 2011
Revision: 74874
http://trac.macports.org/changeset/74874
Author: aschenke at macports.org
Date: 2011-01-05 00:56:34 -0800 (Wed, 05 Jan 2011)
Log Message:
-----------
Fix for ticket #27868 (universal build support)
Modified Paths:
--------------
trunk/dports/print/ps2eps/Portfile
Modified: trunk/dports/print/ps2eps/Portfile
===================================================================
--- trunk/dports/print/ps2eps/Portfile 2011-01-05 06:44:23 UTC (rev 74873)
+++ trunk/dports/print/ps2eps/Portfile 2011-01-05 08:56:34 UTC (rev 74874)
@@ -31,7 +31,14 @@
use_configure no
-build.cmd ${configure.cc} src/C/bbox.c -o bin/bbox
+variant universal {}
+if {[variant_isset universal]} {
+ set archflags ${configure.universal_cflags}
+} else {
+ set archflags ${configure.cc_archflags}
+}
+
+build.cmd ${configure.cc} ${archflags} src/C/bbox.c -o bin/bbox
build.target
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110105/deb0b411/attachment.html>
More information about the macports-changes
mailing list