Modified: trunk/dports/lang/llvm-gcc42/Portfile (91467 => 91468)
--- trunk/dports/lang/llvm-gcc42/Portfile 2012-04-02 19:17:28 UTC (rev 91467)
+++ trunk/dports/lang/llvm-gcc42/Portfile 2012-04-02 19:21:10 UTC (rev 91468)
@@ -69,7 +69,8 @@
# gcc-4.0 produces a bad x86_64 slice, and Leopard's gcc-4.2 doesn't build this properly,
# so use MacPorts-provided apple-gcc-4.2 to build us on 10.[45]
-if {${configure.compiler} == "gcc-4.0" || ${configure.compiler} == "gcc-4.2"} {
+if {${configure.compiler} == "gcc-4.0" ||
+ (${configure.compiler} == "gcc-4.2" && ${os.major} < 10)} {
depends_build-append port:apple-gcc42
configure.compiler apple-gcc-4.2
}