On Apr 2, 2012, at 14:21, [email protected] wrote: > Revision: 91468 > https://trac.macports.org/changeset/91468 > Author: [email protected] > Date: 2012-04-02 12:21:10 -0700 (Mon, 02 Apr 2012) > Log Message: > ----------- > llvm-gcc42: fix deps on 10.6 to match comment > > Modified Paths: > -------------- > trunk/dports/lang/llvm-gcc42/Portfile > > Modified: trunk/dports/lang/llvm-gcc42/Portfile > =================================================================== > --- 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
There is no situation in which MacPorts would default to using gcc-4.2 on Leopard..... On Tiger and Leopard, the default compiler is gcc-4.0. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
