[94731] users/g5pw/dports/devel/pev/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Jun 27 17:49:29 PDT 2012


On Jun 27, 2012, at 17:30, g5pw at macports.org wrote:

> Revision: 94731
>          https://trac.macports.org/changeset/94731
> Author:   g5pw at macports.org
> Date:     2012-06-27 15:30:48 -0700 (Wed, 27 Jun 2012)
> Log Message:
> -----------
> devel/pev:
> - Changed master_sites to avoid redirects
> - added get_canonical_archflags to ensure arch flags are set.

Thanks.


> @@ -27,7 +27,9 @@
> 
> use_configure       no
> 
> -build.args-append   CC=${configure.cc} \
> +variant universal {}
> +
> +build.args-append   CC="${configure.cc} [get_canonical_archflags]" \
>                     CXX=${configure.cxx} \
>                     CPP=${configure.cpp} \
>                     PREFIX=${prefix}

The fact that this works, and that you didn't have to add the -arch flags to CXX as well, shows us that this port doesn't actually use the C++ compiler, so you could omit the CXX=${configure.cxx} line.




More information about the macports-dev mailing list