On Apr 3, 2012, at 5:17 PM, Ryan Schmidt <[email protected]> wrote:

> 
> On Apr 2, 2012, at 14:21, [email protected] 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

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to