Changeset 86966


Ignore:
Timestamp:
Nov 7, 2011, 4:29:33 PM (8 years ago)
Author:
ryandesign@…
Message:

help2man: simplify getting archflags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/help2man/Portfile

    r85040 r86966  
    3232configure.universal_args-delete --disable-dependency-tracking
    3333
     34variant universal {}
     35
    3436post-patch {
    35         if {[variant_isset universal]} {
    36                 reinplace "s|-shared|-bundle ${configure.ldflags} ${configure.universal_ldflags}|" ${worksrcpath}/Makefile.in
    37         } else {
    38             reinplace "s|-shared|-bundle ${configure.ldflags} ${configure.ld_archflags}|" ${worksrcpath}/Makefile.in
    39         }
     37    reinplace "s|-shared|-bundle ${configure.ldflags} [get_canonical_archflags ld]|" ${worksrcpath}/Makefile.in
    4038}
    4139
Note: See TracChangeset for help on using the changeset viewer.