New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79343


Ignore:
Timestamp:
06/09/11 17:41:23 (4 years ago)
Author:
ryandesign@…
Message:

miniupnpc: ensure we're using the right build_arch, and add a universal variant

File:
1 edited

Legend:

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

    r79342 r79343  
    77epoch               2 
    88version             1.5 
    9 revision            1 
     9revision            2 
    1010categories          net 
    1111platforms           darwin 
     
    2323 
    2424use_configure       no 
    25 build.args-append   CC=${configure.cc} 
     25 
     26variant universal {} 
     27if {[variant_isset universal]} { 
     28    set archflags ${configure.universal_cflags} 
     29} else { 
     30    set archflags ${configure.cc_archflags} 
     31} 
     32 
     33build.args-append   CC="${configure.cc} ${archflags}" 
    2634 
    2735post-patch { 
Note: See TracChangeset for help on using the changeset viewer.