Modified: trunk/dports/lang/apple-gcc42/Portfile (80113 => 80114)
--- trunk/dports/lang/apple-gcc42/Portfile 2011-07-04 15:30:09 UTC (rev 80113)
+++ trunk/dports/lang/apple-gcc42/Portfile 2011-07-04 17:05:49 UTC (rev 80114)
@@ -50,6 +50,11 @@
system "cd ${destroot}${prefix}/bin && ln -sf ${nprefix}/bin/gcc-apple-4.2 && ln -sf ${nprefix}/bin/cpp-apple-4.2"
}
+# clang can't build gcc
+if {${configure.compiler} == "clang"} {
+ configure.compiler llvm-gcc-4.2
+}
+
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex gcc-(\\d+(?:\\.\\d+)*)\\.tar