[78764] users/cal

Ryan Schmidt ryandesign at macports.org
Sat May 21 13:16:25 PDT 2011


On May 21, 2011, at 10:48, cal at macports.org wrote:

> Revision: 78764
>          http://trac.macports.org/changeset/78764
> Author:   cal at macports.org
> Date:     2011-05-21 08:48:51 -0700 (Sat, 21 May 2011)
> Log Message:
> -----------
> Personal Ports, ntop, x2goclient (experimental!)

I know these are personal ports, but just a comment:


> Added: users/cal/aqua/x2goclient/Portfile

> +if {[variant_isset universal]} {
> +    build.args-append   CXXFLAGS="${configure.cxxflags} ${configure.universal_cxxflags}" \
> +                        CFLAGS="${configure.cflags} ${configure.universal_cflags}" \
> +                        CPPFLAGS="${configure.cppflags} ${configure.universal_cppflags}" \
> +                        LFLAGS="${configure.ldflags} ${configure.universal_ldflags}"
> +} else {
> +    build.args-append   CXXFLAGS="${configure.cxxflags}" \
> +                        CFLAGS="${configure.cflags}" \
> +                        CPPFLAGS="${configure.cppflags}" \
> +                        LFLAGS="${configure.ldflags}"
> +}

For the same reason that in the universal section you use configure.universal_*flags, in the non-universal section you'll want to use configure.*_archflags.




More information about the macports-dev mailing list