I think it does. At least, builds are now completing without errors on the SL 
buildbot, and this by clearly employing the requested compiler. Here is the 
output of the bot: 
--->  Configuring kde4-baseapps
[snip]
-- The C compiler identification is Clang 3.1.0
-- The CXX compiler identification is Clang 3.1.0
-- Check for working C compiler: /opt/local/bin/clang-mp-3.1
-- Check for working C compiler: /opt/local/bin/clang-mp-3.1 -- works

On Jan 25, 2013, at 11:41 PM, Jeremy Lavergne <[email protected]> 
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