Changeset 74120


Ignore:
Timestamp:
Dec 5, 2010, 1:22:57 AM (7 years ago)
Author:
jmr@…
Message:

libemf: jump through tiger compatibility hoops (#27571)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/libemf/Portfile

    r74029 r74120  
    2626
    2727use_autoreconf  yes
    28 configure.cppflags-append -Xarch_ppc -D__PPC__=1
     28platform darwin {
     29    # this would be one line if it didn't have to work on tiger
     30    if {{os.major} >= 9} {
     31        configure.cppflags-append -Xarch_ppc -D__PPC__=1
     32    } else {
     33        universal_variant no
     34        if {${configure.build_arch} == "ppc"} {
     35            configure.cppflags-append -D__PPC__=1
     36        }
     37    }
     38}
    2939
    3040livecheck.type  regex
Note: See TracChangeset for help on using the changeset viewer.