[112992] trunk/dports/science/hackrf/Portfile

michaelld at macports.org michaelld at macports.org
Wed Nov 6 05:58:32 PST 2013


Revision: 112992
          https://trac.macports.org/changeset/112992
Author:   michaelld at macports.org
Date:     2013-11-06 05:58:32 -0800 (Wed, 06 Nov 2013)
Log Message:
-----------
hackrf: remove -I${prefix}/include from configure flags, such that the internal headers are used instead of any already-installed ones.

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

Modified: trunk/dports/science/hackrf/Portfile
===================================================================
--- trunk/dports/science/hackrf/Portfile	2013-11-06 13:52:46 UTC (rev 112991)
+++ trunk/dports/science/hackrf/Portfile	2013-11-06 13:58:32 UTC (rev 112992)
@@ -7,6 +7,7 @@
 
 github.setup        mossmann hackrf 3ed0112672f9c8917867798afc86e268070cb172
 version             20131105
+revision            1
 maintainers         michaelld openmaintainer
 
 description         ${name} is a project to build a low cost software radio (SDR) platform.
@@ -40,6 +41,13 @@
 
 configure.post_args ../${worksrcdir}/host
 
+# 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
+
 # be verbose when building, for debugging purposes
 
 build.post_args     VERBOSE=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131106/c0c8e07b/attachment.html>


More information about the macports-changes mailing list