[64063] trunk/dports/gis

Ryan Schmidt ryandesign at macports.org
Sun Feb 21 21:29:25 PST 2010


On Feb 21, 2010, at 01:51, takeshi at macports.org wrote:

> Revision: 64063
>          http://trac.macports.org/changeset/64063
> Author:   takeshi at macports.org
> Date:     2010-02-20 23:51:36 -0800 (Sat, 20 Feb 2010)
> Log Message:
> -----------
> libproj4: added for use in gnudatalanguage in place of proj


> +if {![variant_isset universal]} {
> +    build.env-append    CC=${configure.cc} \
> +                        CFLAGS=\"-I. -DPROJ_HAVE_GSL=1 -DPROJ_HAVE_THREADS=1 \
> +                                 ${configure.cflags} ${configure.cc_archflags}\" \
> +                        LDFLAGS=\"-L./ -lproj4 ${configure.ldflags} -lgsl -lgslcblas\"
> +} else {
> +    build.env-append    CC=${configure.cc} \
> +                        CFLAGS=\"-I. -DPROJ_HAVE_GSL=1 -DPROJ_HAVE_THREADS=1 \
> +                                 ${configure.cflags} ${configure.universal_cflags}\" \
> +                        LDFLAGS=\"-L./ -lproj4 ${configure.ldflags} ${configure.universal_ldflags} -lgsl -lgslcblas\"
> +}

You could probably refactor this a bit to avoid redundancy.



More information about the macports-dev mailing list