Revision: 76430 http://trac.macports.org/changeset/76430 Author: ryandesign@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}
participants (1)
-
ryandesign@macports.org