On Thu, Jan 10, 2013 at 8:22 PM, Ryan Schmidt <[email protected]> wrote:

Ryan

>> +# build fails with gcc-4.0 on Leopard, use gcc-4.2 (#37069)
>> +if {${configure.compiler} == "gcc-4.0"} {
>> +   configure.compiler gcc-4.2
>> +}
>
> Couldn't this just be written as:
>
> compiler.blacklist gcc-4.0
>
> Of course this (or what you've already committed) will cause the port to fail 
> on Tiger which has no gcc-4.2 (unless you work on making it use the 
> apple-gcc42 port in that case; some other ports do this if you want to copy 
> the code block).

I hadn't thought about Tiger. Which ports do this, I've had a look but
can't seem to find any examples?

Cheers

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

Reply via email to