[112998] trunk/dports/science/uhd/Portfile

michaelld at macports.org michaelld at macports.org
Wed Nov 6 08:45:38 PST 2013


Revision: 112998
          https://trac.macports.org/changeset/112998
Author:   michaelld at macports.org
Date:     2013-11-06 08:45:38 -0800 (Wed, 06 Nov 2013)
Log Message:
-----------
uhd:
+ remove top-level include path, such that internal headers are used instead of any already-installed ones;
+ remove top-level library path, such that internal libraries are used instead of any already-installed ones.

Modified Paths:
--------------
    trunk/dports/science/uhd/Portfile

Modified: trunk/dports/science/uhd/Portfile
===================================================================
--- trunk/dports/science/uhd/Portfile	2013-11-06 14:35:20 UTC (rev 112997)
+++ trunk/dports/science/uhd/Portfile	2013-11-06 16:45:38 UTC (rev 112998)
@@ -51,6 +51,18 @@
 configure.dir       ${workpath}/build
 build.dir           ${workpath}/build
 
+# remove top-level include path, such that internal headers are used
+# instead of any already-installed ones.
+
+configure.cppflags-delete -I${prefix}/include
+configure.cflags-delete -I${prefix}/include
+configure.cxxflags-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
+
 # patches to fix use of boost::lexical_cast and libc++
 
 # configure.cxx_stdlib works with MacPorts SVN trunk, not release;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131106/671ebf72/attachment.html>


More information about the macports-changes mailing list