Sorry, I only saw the configure.compiler line :-)
Practicing my selective reading, eh?

> Yes, declaring a dependency does make MacPorts ensure that that dependency is 
> active; MacPorts wouldn't work very well if it didn't do that.
> 
> On Jan 25, 2013, at 08:41, Jeremy Lavergne wrote:
> 
>> Does this ensure that macports-clang-3.1 is active? I have this itching 
>> feeling it doesn't.
>> 
>> On Jan 25, 2013, at 9:36 AM, [email protected] wrote:
>> 
>>> +#Forces use of clang compiler (does not build with gcc)
>>> +if {${configure.compiler} != "clang" && ${os.platform} == "darwin"} {
>>> +    depends_build-append    port:clang-3.1
>>> +    configure.compiler      macports-clang-3.1
>>> +}
> 

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

Reply via email to