[120875] trunk/dports/lang
jeremyhu at macports.org
jeremyhu at macports.org
Tue Jun 10 10:31:39 PDT 2014
Revision: 120875
https://trac.macports.org/changeset/120875
Author: jeremyhu at macports.org
Date: 2014-06-10 10:31:39 -0700 (Tue, 10 Jun 2014)
Log Message:
-----------
llvm-3.{3,4,5}: Workaround a bug setting a 10.10 deployment target in llvm's build system
Modified Paths:
--------------
trunk/dports/lang/llvm-3.3/Portfile
trunk/dports/lang/llvm-3.4/Portfile
trunk/dports/lang/llvm-3.5/Portfile
Modified: trunk/dports/lang/llvm-3.3/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.3/Portfile 2014-06-10 17:23:05 UTC (rev 120874)
+++ trunk/dports/lang/llvm-3.3/Portfile 2014-06-10 17:31:39 UTC (rev 120875)
@@ -172,15 +172,20 @@
if {${subport} == "clang-${llvm_version}" && ${os.major} <= 9} {
patchfiles-append leopard-no-asan.patch
}
-}
-platform darwin 8 {
- # Tiger's DevTools make has issues with the nested ifs in compiler-rt
- depends_run-append port:gmake
- build.cmd ${prefix}/bin/gmake
+ # TODO: The llvm build system sets a 10.1 deployment target on Yosemite
+ if {[vercmp ${macosx_deployment_target} 10.10] >= 0} {
+ macosx_deployment_target 10.9
+ }
- post-configure {
- reinplace "/^RPATH/s/=.*/=/" ${worksrcpath}/Makefile.config
+ if {${os.major} < 9} {
+ # Tiger's DevTools make has issues with the nested ifs in compiler-rt
+ depends_run-append port:gmake
+ build.cmd ${prefix}/bin/gmake
+
+ post-configure {
+ reinplace "/^RPATH/s/=.*/=/" ${worksrcpath}/Makefile.config
+ }
}
}
Modified: trunk/dports/lang/llvm-3.4/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.4/Portfile 2014-06-10 17:23:05 UTC (rev 120874)
+++ trunk/dports/lang/llvm-3.4/Portfile 2014-06-10 17:31:39 UTC (rev 120875)
@@ -183,6 +183,11 @@
patchfiles-append leopard-no-asan.patch
}
+ # TODO: The llvm build system sets a 10.1 deployment target on Yosemite
+ if {[vercmp ${macosx_deployment_target} 10.10] >= 0} {
+ macosx_deployment_target 10.9
+ }
+
if {${os.major} < 10} {
post-patch {
reinplace "/TARGETS_TO_BUILD=/s/R600//" ${worksrcpath}/configure
Modified: trunk/dports/lang/llvm-3.5/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.5/Portfile 2014-06-10 17:23:05 UTC (rev 120874)
+++ trunk/dports/lang/llvm-3.5/Portfile 2014-06-10 17:31:39 UTC (rev 120875)
@@ -183,6 +183,11 @@
patchfiles-append leopard-no-asan.patch
}
+ # TODO: The llvm build system sets a 10.1 deployment target on Yosemite
+ if {[vercmp ${macosx_deployment_target} 10.10] >= 0} {
+ macosx_deployment_target 10.9
+ }
+
if {${os.major} < 10} {
post-patch {
reinplace "/TARGETS_TO_BUILD=/s/R600//" ${worksrcpath}/configure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140610/eedac627/attachment-0001.html>
More information about the macports-changes
mailing list