Ignore:
Timestamp:
Sep 16, 2011, 3:57:25 AM (9 years ago)
Author:
ryandesign@…
Message:

nsping: add universal variant

File:
1 edited

Legend:

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

    r83199 r84066  
    2222extract.post_args       | gnutar -x
    2323use_configure           no
     24
     25variant universal {}
     26
    2427build.args              CPPFLAGS="-DBIND_8_COMPAT" \
    2528                        CC="${configure.cc}" \
    26                         CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
    27                         LDFLAGS="${configure.ld_archflags}"
     29                        CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
     30                        LDFLAGS="[get_canonical_archflags ld]"
    2831build.target
    2932destroot                { xinstall -m 555 -W ${worksrcpath} nsping ${destroot}${prefix}/bin
Note: See TracChangeset for help on using the changeset viewer.