Changeset 64157


Ignore:
Timestamp:
Feb 24, 2010, 1:18:45 AM (10 years ago)
Author:
takeshi@…
Message:

libproj4: fixes problems #23804 by adding ${configure.cppflags} to CFLAGS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/libproj4/Portfile

    r64093 r64157  
    3737if {![variant_isset universal]} {
    3838    build.env-append    CC=${configure.cc} \
    39                         CFLAGS=\"-I. -DPROJ_HAVE_GSL=1 -DPROJ_HAVE_THREADS=1 \
     39                        CFLAGS=\"-I. ${configure.cppflags} -DPROJ_HAVE_GSL=1 -DPROJ_HAVE_THREADS=1 \
    4040                                 ${configure.cflags} ${configure.cc_archflags}\" \
    4141                        LDFLAGS=\"-L./ -lproj4 ${configure.ldflags} -lgsl -lgslcblas\"
    4242} else {
    4343    build.env-append    CC=${configure.cc} \
    44                         CFLAGS=\"-I. -DPROJ_HAVE_GSL=1 -DPROJ_HAVE_THREADS=1 \
     44                        CFLAGS=\"-I. ${configure.cppflags} -DPROJ_HAVE_GSL=1 -DPROJ_HAVE_THREADS=1 \
    4545                                 ${configure.cflags} ${configure.universal_cflags}\" \
    4646                        LDFLAGS=\"-L./ -lproj4 ${configure.ldflags} ${configure.universal_ldflags} -lgsl -lgslcblas\"
Note: See TracChangeset for help on using the changeset viewer.