[92634] trunk/dports/net/gpsd/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed May 2 14:42:57 PDT 2012
Revision: 92634
https://trac.macports.org/changeset/92634
Author: ryandesign at macports.org
Date: 2012-05-02 14:42:57 -0700 (Wed, 02 May 2012)
Log Message:
-----------
gpsd: add universal variant and use the right -arch flags, mostly (except for the python modules)
Modified Paths:
--------------
trunk/dports/net/gpsd/Portfile
Modified: trunk/dports/net/gpsd/Portfile
===================================================================
--- trunk/dports/net/gpsd/Portfile 2012-05-02 21:31:16 UTC (rev 92633)
+++ trunk/dports/net/gpsd/Portfile 2012-05-02 21:42:57 UTC (rev 92634)
@@ -33,12 +33,16 @@
use_configure no
+variant universal {}
+
build.cmd ${prefix}/bin/scons
build.target
build.args prefix=${prefix} libQgpsmm=no usb=no strip=no
-build.env-append CC="${configure.cc}" CFLAGS="${configure.cflags}" \
- CXX="${configure.cxx}" CXXFLAGS="${configure.cxxflags}" \
- LDFLAGS="${configure.ldflags}" \
+build.env-append CC="${configure.cc} [get_canonical_archflags cc]" \
+ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+ CXX="${configure.cxx} [get_canonical_archflags cxx]" \
+ CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
+ LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
PYTHON=${prefix}/bin/python2.7
destroot.args ${build.args}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120502/095db5e8/attachment.html>
More information about the macports-changes
mailing list