[92118] trunk/dports/devel/cctools/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Apr 18 19:21:52 PDT 2012


Revision: 92118
          https://trac.macports.org/changeset/92118
Author:   jeremyhu at macports.org
Date:     2012-04-18 19:21:49 -0700 (Wed, 18 Apr 2012)
Log Message:
-----------
cctools: Fix build when the user overrides compiler.cpath and doesn't include ${prefix}/include (#34110)

Modified Paths:
--------------
    trunk/dports/devel/cctools/Portfile

Modified: trunk/dports/devel/cctools/Portfile
===================================================================
--- trunk/dports/devel/cctools/Portfile	2012-04-19 01:05:01 UTC (rev 92117)
+++ trunk/dports/devel/cctools/Portfile	2012-04-19 02:21:49 UTC (rev 92118)
@@ -95,7 +95,8 @@
         CC="${configure.cc}" \
         CXX="${configure.cxx}" \
         RC_CFLAGS="[get_canonical_archflags] `llvm-config-mp-${llvm_version} --cflags`" \
-        LLVM_MC="llvm-mc-mp-${llvm_version}"
+        LLVM_MC="llvm-mc-mp-${llvm_version}" \
+        SDK="-I${prefix}/include"
 
     if {${os.major} == 8} {
         build.args-append \
@@ -114,7 +115,8 @@
         CC="${configure.cc}" \
         CXX="${configure.cxx}" \
         RC_CFLAGS="[get_canonical_archflags] `llvm-config-mp-${llvm_version} --cflags`" \
-        LLVM_MC="llvm-mc-mp-${llvm_version}"
+        LLVM_MC="llvm-mc-mp-${llvm_version}" \
+        SDK="-I${prefix}/include"
 
     if {${os.major} == 8} {
         destroot.args-append \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120418/06864f1c/attachment.html>


More information about the macports-changes mailing list