[114023] trunk/dports/print/libLASi/Portfile

michaelld at macports.org michaelld at macports.org
Wed Nov 27 06:44:48 PST 2013


Revision: 114023
          https://trac.macports.org/changeset/114023
Author:   michaelld at macports.org
Date:     2013-11-27 06:44:47 -0800 (Wed, 27 Nov 2013)
Log Message:
-----------
libLASi: remove ${prefix}/lib and ${prefix}/include from LDFLAGS and CPPFLAGS, such that project libraries and headers are looked for before those already installed.

Modified Paths:
--------------
    trunk/dports/print/libLASi/Portfile

Modified: trunk/dports/print/libLASi/Portfile
===================================================================
--- trunk/dports/print/libLASi/Portfile	2013-11-27 13:47:10 UTC (rev 114022)
+++ trunk/dports/print/libLASi/Portfile	2013-11-27 14:44:47 UTC (rev 114023)
@@ -30,6 +30,16 @@
 
 patchfiles              patch-freetype-2.5.1.diff
 
+# remove top-level include path, such that internal headers are used
+# instead of any already-installed ones.
+
+configure.cppflags-delete -I${prefix}/include
+
+# remove top-level library path, such that internal libraries are used
+# instead of any already-installed ones.
+
+configure.ldflags-delete -L${prefix}/lib
+
 livecheck.type          regex
 livecheck.url           ${homepage}
 livecheck.regex         {New Release Announcement: libLASi-([0-9]+\.[0-9]+\.[0-9]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131127/0cd6dcca/attachment.html>


More information about the macports-changes mailing list