[87257] trunk/dports/lang/erlang/Portfile

Brent Fulgham bfulg at pacbell.net
Tue Nov 15 20:16:32 PST 2011


On Nov 15, 2011, at 10:34 AM, Ryan Schmidt wrote:

> 
> On Nov 15, 2011, at 00:06, bfulgham at macports.org wrote:
>> 
>> +    # Erlang seems to have an on-again/off-again relationship with Clang.
>> +    # As of XCode 4.2, it's off again.
>> +    if {${configure.compiler} == "clang"} { 
>> +        configure.compiler llvm-gcc-4.2 
>> +    } 
> 
> This block should probably not be restricted to platform darwin 11; Xcode 4.2 exists for darwin 10 too (for paid Apple developer program members).

Is it possible to have a stanza like this apply to both darwin 10 and 11 in a common area? Or do I need to copy/paste the code in both places?

Thanks,

-Brent


More information about the macports-dev mailing list