Changeset 92634 for trunk


Ignore:
Timestamp:
May 2, 2012, 9:42:57 PM (6 years ago)
Author:
ryandesign@…
Message:

gpsd: add universal variant and use the right -arch flags, mostly (except for the python modules)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/gpsd/Portfile

    r89328 r92634  
    3434use_configure           no
    3535
     36variant universal {}
     37
    3638build.cmd               ${prefix}/bin/scons
    3739build.target
    3840build.args              prefix=${prefix} libQgpsmm=no usb=no strip=no
    39 build.env-append        CC="${configure.cc}" CFLAGS="${configure.cflags}" \
    40                         CXX="${configure.cxx}" CXXFLAGS="${configure.cxxflags}" \
    41                         LDFLAGS="${configure.ldflags}" \
     41build.env-append        CC="${configure.cc} [get_canonical_archflags cc]" \
     42                        CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
     43                        CXX="${configure.cxx} [get_canonical_archflags cxx]" \
     44                        CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
     45                        LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
    4246                        PYTHON=${prefix}/bin/python2.7
    4347
Note: See TracChangeset for help on using the changeset viewer.