Ignore:
Timestamp:
Mar 1, 2007, 2:02:40 PM (13 years ago)
Author:
pipping@…
Message:
  • fix variant universal
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/srm/Portfile

    r22462 r22463  
    2222configure.env   CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \
    2323                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
     24
     25if {[llength [info commands configure.universal_ldflags-append]] > 0} {
     26    configure.universal_cflags-append \
     27      -no-cpp-precomp -flat_namespace -undefined suppress
     28} else {
     29    variant universal {
     30        return -code error "You need to be running MacPorts 1.4.0 or higher to \
     31        use this variant (universal)."
     32    }
     33}
Note: See TracChangeset for help on using the changeset viewer.