[90594] trunk/dports/devel/levmar/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Mar 9 07:47:25 PST 2012
Revision: 90594
http://trac.macports.org/changeset/90594
Author: ryandesign at macports.org
Date: 2012-03-09 07:47:24 -0800 (Fri, 09 Mar 2012)
Log Message:
-----------
levmar: ensure we're UsingTheRightCompiler and -arch flags; add universal variant
Modified Paths:
--------------
trunk/dports/devel/levmar/Portfile
Modified: trunk/dports/devel/levmar/Portfile
===================================================================
--- trunk/dports/devel/levmar/Portfile 2012-03-09 14:58:48 UTC (rev 90593)
+++ trunk/dports/devel/levmar/Portfile 2012-03-09 15:47:24 UTC (rev 90594)
@@ -38,7 +38,7 @@
use_configure no
#configure.args --with-omniORB-config="${prefix}/etc/omniORB.cfg"
-universal_variant no
+variant universal {}
lassign [split ${version} "."] ver_major ver_minor
lassign [split "2.2" "."] abi_major abi_minor
@@ -68,8 +68,9 @@
file mkdir ${worksrcpath}/sobj
}
-build.args-append "-f Makefile.so"
-build.args-append "LDFLAGS=-Wl,-rpath,${prefix}/lib"
+build.args-append -f Makefile.so \
+ CC="${configure.cc} [get_canonical_archflags cc]" \
+ LDFLAGS=-Wl,-rpath,${prefix}/lib
test.run yes
test.cmd lmdemo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120309/aca0e682/attachment.html>
More information about the macports-changes
mailing list