[56093] trunk/dports/graphics/shapelib/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Aug 23 23:39:50 PDT 2009
Revision: 56093
http://trac.macports.org/changeset/56093
Author: ryandesign at macports.org
Date: 2009-08-23 23:39:49 -0700 (Sun, 23 Aug 2009)
Log Message:
-----------
shapelib: use configure.cc; see UsingTheRightCompiler
Modified Paths:
--------------
trunk/dports/graphics/shapelib/Portfile
Modified: trunk/dports/graphics/shapelib/Portfile
===================================================================
--- trunk/dports/graphics/shapelib/Portfile 2009-08-24 06:38:36 UTC (rev 56092)
+++ trunk/dports/graphics/shapelib/Portfile 2009-08-24 06:39:49 UTC (rev 56093)
@@ -18,8 +18,10 @@
destroot.destdir
+build.env CC=${configure.cc}
+
post-build {
- system "cd ${worksrcpath} && cc -dynamiclib -all_load \
+ system "cd ${worksrcpath} && ${configure.cc} -dynamiclib -all_load \
-install_name ${prefix}/lib/libshp.${version}.dylib \
-compatibility_version ${version} \
-o libshp.${version}.dylib shpopen.o shptree.o \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090823/055a8f4b/attachment.html>
More information about the macports-changes
mailing list