Changeset 74874


Ignore:
Timestamp:
Jan 5, 2011, 8:56:34 AM (9 years ago)
Author:
aschenke@…
Message:

Fix for ticket #27868 (universal build support)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/ps2eps/Portfile

    r74847 r74874  
    3232use_configure       no
    3333
    34 build.cmd                       ${configure.cc} src/C/bbox.c -o bin/bbox
     34variant universal {}
     35if {[variant_isset universal]} {
     36    set archflags ${configure.universal_cflags}
     37} else {
     38    set archflags ${configure.cc_archflags}
     39}
     40
     41build.cmd           ${configure.cc} ${archflags} src/C/bbox.c -o bin/bbox
    3542build.target
    3643
Note: See TracChangeset for help on using the changeset viewer.