[91468] trunk/dports/lang/llvm-gcc42/Portfile

Joshua Root jmr at macports.org
Wed Apr 4 15:10:41 PDT 2012


On 2012-4-5 05:00 , Jeremy Huddleston wrote:
> 
> 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.

Xcode 3.1 on 10.6 is not supported either (and doesn't even work right
when targeting 10.6/x86_64 IIRC). But OK, to be correct in that case it
should really be an xcodeversion comparison.

- Josh


More information about the macports-dev mailing list