Revision: 91420 https://trac.macports.org/changeset/91420 Author: jeremyhu@macports.org Date: 2012-04-01 10:14:27 -0700 (Sun, 01 Apr 2012) Log Message: ----------- clang-*: Build fixes for Tiger 2.9 and 3.0 now build for Tiger, although not +universal 3.1 still fails, but this is a step in the right direction Modified Paths: -------------- trunk/dports/lang/clang-2.9/Portfile trunk/dports/lang/clang-3.0/Portfile trunk/dports/lang/clang-3.1/Portfile Modified: trunk/dports/lang/clang-2.9/Portfile =================================================================== --- trunk/dports/lang/clang-2.9/Portfile 2012-04-01 16:42:31 UTC (rev 91419) +++ trunk/dports/lang/clang-2.9/Portfile 2012-04-01 17:14:27 UTC (rev 91420) @@ -108,6 +108,18 @@ platform darwin 8 { configure.args-delete --enable-shared --enable-jit + configure.compiler macports-gcc-4.6 + depends_run-append port:gcc46 port:gmake + depends_skip_archcheck-append gcc46 gmake + + # Tiger's DevTools make has issues with the nested ifs in compiler-rt + build.cmd ${prefix}/bin/gmake + destroot.cmd ${prefix}/bin/gmake + + # It's not that we can't do it universal, it's that the host toolchains + # won't link clang, so universal gives us a bootstrap issue since only + # apple-gcc42, llvm-gcc42, and clang-* can be used to build universal + universal_variant no } post-extract { Modified: trunk/dports/lang/clang-3.0/Portfile =================================================================== --- trunk/dports/lang/clang-3.0/Portfile 2012-04-01 16:42:31 UTC (rev 91419) +++ trunk/dports/lang/clang-3.0/Portfile 2012-04-01 17:14:27 UTC (rev 91420) @@ -108,6 +108,18 @@ platform darwin 8 { configure.args-delete --enable-shared --enable-jit + configure.compiler macports-gcc-4.6 + depends_run-append port:gcc46 port:gmake + depends_skip_archcheck-append gcc46 gmake + + # Tiger's DevTools make has issues with the nested ifs in compiler-rt + build.cmd ${prefix}/bin/gmake + destroot.cmd ${prefix}/bin/gmake + + # It's not that we can't do it universal, it's that the host toolchains + # won't link clang, so universal gives us a bootstrap issue since only + # apple-gcc42, llvm-gcc42, and clang-* can be used to build universal + universal_variant no } post-extract { Modified: trunk/dports/lang/clang-3.1/Portfile =================================================================== --- trunk/dports/lang/clang-3.1/Portfile 2012-04-01 16:42:31 UTC (rev 91419) +++ trunk/dports/lang/clang-3.1/Portfile 2012-04-01 17:14:27 UTC (rev 91420) @@ -100,6 +100,18 @@ platform darwin 8 { configure.args-delete --enable-shared --enable-jit + configure.compiler macports-gcc-4.6 + depends_run-append port:gcc46 port:gmake + depends_skip_archcheck-append gcc46 gmake + + # Tiger's DevTools make has issues with the nested ifs in compiler-rt + build.cmd ${prefix}/bin/gmake + destroot.cmd ${prefix}/bin/gmake + + # It's not that we can't do it universal, it's that the host toolchains + # won't link clang, so universal gives us a bootstrap issue since only + # apple-gcc42, llvm-gcc42, and clang-* can be used to build universal + universal_variant no } post-extract {