On Jan 17, 2012, at 17:43, Jeremy Huddleston wrote:

> That looks good to me

We might further simplify the block like so:

if {${configure.compiler} == "llvm-gcc-4.2"} {
    configure.compiler gcc-4.2
} elseif {${configure.compiler} == "clang"} {
    depends_build-append port:apple-gcc42
    configure.compiler apple-gcc-4.2
    # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
    configure.cxx ${prefix}/bin/g++-apple-4.2
}

I think I like this version best; it seems simplest. Any objection to using 
this version in the PortfileRecipes and in all ports currently using the other 
version?


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

Reply via email to