[76430] trunk/dports/textproc/hexdiff/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Feb 22 19:20:42 PST 2011
Revision: 76430
http://trac.macports.org/changeset/76430
Author: ryandesign at macports.org
Date: 2011-02-22 19:20:42 -0800 (Tue, 22 Feb 2011)
Log Message:
-----------
hexdiff: support universal and non-default build_arch
Modified Paths:
--------------
trunk/dports/textproc/hexdiff/Portfile
Modified: trunk/dports/textproc/hexdiff/Portfile
===================================================================
--- trunk/dports/textproc/hexdiff/Portfile 2011-02-23 03:15:25 UTC (rev 76429)
+++ trunk/dports/textproc/hexdiff/Portfile 2011-02-23 03:20:42 UTC (rev 76430)
@@ -33,7 +33,14 @@
use_configure no
-build.args COMP=${configure.cc} \
+variant universal {}
+if {[variant_isset universal]} {
+ set archflags ${configure.universal_cflags}
+} else {
+ set archflags ${configure.cc_archflags}
+}
+
+build.args COMP="${configure.cc} ${archflags}" \
CFLAGS=${configure.cflags} \
CPPFLAGS=${configure.cppflags} \
LDFLAGS=${configure.ldflags}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110222/da9875cb/attachment.html>
More information about the macports-changes
mailing list