[82620] trunk/dports/devel/lpeg/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Aug 16 15:23:38 PDT 2011
Revision: 82620
http://trac.macports.org/changeset/82620
Author: ryandesign at macports.org
Date: 2011-08-16 15:23:37 -0700 (Tue, 16 Aug 2011)
Log Message:
-----------
lpeg: simplify setting archflags; see #30807
Modified Paths:
--------------
trunk/dports/devel/lpeg/Portfile
Modified: trunk/dports/devel/lpeg/Portfile
===================================================================
--- trunk/dports/devel/lpeg/Portfile 2011-08-16 21:48:31 UTC (rev 82619)
+++ trunk/dports/devel/lpeg/Portfile 2011-08-16 22:23:37 UTC (rev 82620)
@@ -29,14 +29,9 @@
use_configure no
variant universal {}
-if {[variant_isset universal]} {
- set archflags ${configure.universal_cflags}
-} else {
- set archflags ${configure.cc_archflags}
-}
build.target
-build.args CC="${configure.cc} ${archflags}" \
+build.args CC="${configure.cc} [get_canonical_archflags]" \
LUADIR=${prefix}/include
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110816/ca657a87/attachment-0001.html>
More information about the macports-changes
mailing list