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

jeremyhu at macports.org jeremyhu at macports.org
Sun Feb 15 14:47:29 PST 2015


Revision: 132952
          https://trac.macports.org/changeset/132952
Author:   jeremyhu at macports.org
Date:     2015-02-15 14:47:29 -0800 (Sun, 15 Feb 2015)
Log Message:
-----------
cctools: Adjust cppflags to possibly fix a build issue on Tiger (#46875)

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

Modified: trunk/dports/devel/cctools/Portfile
===================================================================
--- trunk/dports/devel/cctools/Portfile	2015-02-15 22:38:36 UTC (rev 132951)
+++ trunk/dports/devel/cctools/Portfile	2015-02-15 22:47:29 UTC (rev 132952)
@@ -123,17 +123,19 @@
     set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
 }
 
+configure.cppflags-append -I${worksrcpath}/../ld64-${ld64_version}/src/abstraction -I${worksrcpath}/../ld64-${ld64_version}/src/other -I${worksrcpath}/include
+
 pre-build {
     build.args-append \
         RC_ProjectSourceVersion=${version} \
         USE_DEPENDENCY_FILE=NO \
         BUILD_DYLIBS=NO \
         CC="${configure.cc} ${configure.cflags}" \
-        CXX="${configure.cxx} ${configure.cxxflags} -I${worksrcpath}/../ld64-${ld64_version}/src/abstraction" \
+        CXX="${configure.cxx} ${configure.cxxflags}" \
         CXXLIB="${cxx_stdlibflags}" \
         TRIE=-DTRIE_SUPPORT \
         RC_ARCHS="[get_canonical_archs]" \
-        SDK="-I${prefix}/include -I${worksrcpath}/../ld64-${ld64_version}/src/other"
+        SDK="${configure.cppflags}"
 
     if {${llvm_version} != ""} {
         build.args-append \
@@ -153,11 +155,11 @@
         USE_DEPENDENCY_FILE=NO \
         BUILD_DYLIBS=NO \
         CC="${configure.cc} ${configure.cflags}" \
-        CXX="${configure.cxx} ${configure.cxxflags} -I${worksrcpath}/../ld64-${ld64_version}/src/abstraction" \
+        CXX="${configure.cxx} ${configure.cxxflags}" \
         CXXLIB="${cxx_stdlibflags}" \
         TRIE=-DTRIE_SUPPORT \
         RC_ARCHS="[get_canonical_archs]" \
-        SDK="-I${prefix}/include -I${worksrcpath}/../ld64-${ld64_version}/src/other"
+        SDK="${configure.cppflags}"
 
     if {${llvm_version} != ""} {
         destroot.args-append \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150215/357a3944/attachment.html>


More information about the macports-changes mailing list