gcc-4.2 vs apple-gcc-4.2
Bradley Giesbrecht
pixilla at macports.org
Mon Jan 23 13:52:53 PST 2012
On Jan 22, 2012, at 2:18 PM, Ryan Schmidt wrote:
>
> 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?
Might it be advantageous to use a PortGroup for this?
More information about the macports-dev
mailing list