[91468] trunk/dports/lang/llvm-gcc42/Portfile
Jeremy Huddleston
jeremyhu at macports.org
Wed Apr 4 12:00:21 PDT 2012
On Apr 3, 2012, at 5:17 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Apr 2, 2012, at 14:21, jmr at macports.org wrote:
>>
>> # 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.....
s/no situation/no supported situation/ ... ;)
Also, I intentionally didn't do the os comparison because it's not really Leopard's gcc-4.2 such as it is XCode 3.1's gcc-4.2, and someone may still be using XCode 3.1 on Snow Leopard. I should've been more precise with the comment.
--Jeremy
More information about the macports-dev
mailing list