gcc-4.2 vs apple-gcc-4.2
Jeremy Huddleston
jeremyhu at macports.org
Mon Jan 23 10:37:37 PST 2012
Looks good.
Thanks.
On Jan 22, 2012, at 14:18, 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?
>
>
More information about the macports-dev
mailing list