[89248] trunk/dports/science/alliance/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Jan 21 17:00:27 PST 2012


On Jan 21, 2012, at 18:15, and.damore at macports.org wrote:

> Revision: 89248
>          http://trac.macports.org/changeset/89248
> Author:   and.damore at macports.org
> Date:     2012-01-21 16:15:17 -0800 (Sat, 21 Jan 2012)
> Log Message:
> -----------
> port alliance: choosing right compiler on Lion, closing ticket #32947, adding license
> 
> Modified Paths:
> --------------
>    trunk/dports/science/alliance/Portfile


> +if {${os.major} == 11} {
> +    depends_build       port:apple-gcc42
> +
> +    configure.compiler  apple-gcc-4.2
> +    configure.cxx       g++-apple-4.2
> +}

Why not the way we recommend in PortfileRecipes?

https://trac.macports.org/wiki/PortfileRecipes#compiler

The problem you're fixing is to do with the clang compiler, NOT the Lion OS version. Clang is not used on Lion with Xcode 4.0 or 4.1, and clang IS used on Snow Leopard with Xcode 4.2.




More information about the macports-dev mailing list