On Jan 21, 2012, at 18:15, [email protected] wrote:

> Revision: 89248
>          http://trac.macports.org/changeset/89248
> Author:   [email protected]
> 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.


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

Reply via email to