[92185] trunk/dports/devel/ld64/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Apr 21 03:50:52 PDT 2012


Revision: 92185
          https://trac.macports.org/changeset/92185
Author:   jeremyhu at macports.org
Date:     2012-04-21 03:50:52 -0700 (Sat, 21 Apr 2012)
Log Message:
-----------
ld64: Set OTHER_CFLAGS and OTHER_CPLUSPLUSFLAGS using xcode.build.settings

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

Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile	2012-04-21 10:50:23 UTC (rev 92184)
+++ trunk/dports/devel/ld64/Portfile	2012-04-21 10:50:52 UTC (rev 92185)
@@ -104,15 +104,10 @@
 }
 
 if {${os.major} >= 9} {
-    pre-build {
-        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include'
-    }
-    pre-destroot {
-        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include'
-    }
+    xcode.build.settings OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include' \
+                         OTHER_CPLUSPLUSFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include'
 } else {
-    build.env       OTHER_CFLAGS='-I${prefix}/include'
-    destroot.env    OTHER_CFLAGS='-I${prefix}/include'
+    xcode.build.settings OTHER_CFLAGS='-I${prefix}/include' OTHER_CPLUSPLUSFLAGS='-I${prefix}/include'
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120421/eb5330a3/attachment.html>


More information about the macports-changes mailing list