[91602] trunk/dports/science/fasthenry-wr/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Apr 8 04:26:21 PDT 2012


On Apr 6, 2012, at 14:05, macsforever2000 at macports.org wrote:

> Revision: 91602
>          https://trac.macports.org/changeset/91602
> Author:   macsforever2000 at macports.org
> Date:     2012-04-06 12:05:58 -0700 (Fri, 06 Apr 2012)
> Log Message:
> -----------
> fasthenry-wr: Drop to llvm-gcc if using clang to fix code errors. (#33915)
> 
> Modified Paths:
> --------------
>    trunk/dports/science/fasthenry-wr/Portfile
> 
> Modified: trunk/dports/science/fasthenry-wr/Portfile
> ===================================================================
> --- trunk/dports/science/fasthenry-wr/Portfile	2012-04-06 18:54:30 UTC (rev 91601)
> +++ trunk/dports/science/fasthenry-wr/Portfile	2012-04-06 19:05:58 UTC (rev 91602)
> @@ -28,6 +28,14 @@
> 
> use_configure    no
> 
> +if {${configure.compiler} == "clang"} {
> +    configure.compiler llvm-gcc-4.2
> +}
> +
> +build.args-append       CC=${configure.cc} \
> +                        CXX=${configure.cxx} \
> +                        CPP=${configure.cpp}

This might be a good opportunity to add -arch flags too, and maybe a universal variant. [get_canonical_archflags], etc.







More information about the macports-dev mailing list