Changeset 66371


Ignore:
Timestamp:
Apr 10, 2010, 2:33:56 PM (8 years ago)
Author:
jmr@…
Message:

help2man: remove universal_sysroot reference, insert ld arch flags for non-universal too

File:
1 edited

Legend:

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

    r62078 r66371  
    2929
    3030post-patch {
    31     reinplace "s|-shared|-bundle ${configure.ldflags}|" ${worksrcpath}/Makefile.in
    3231        if {[variant_isset universal]} {
    33                 if {[info exists universal_sysroot]} {
    34                         reinplace "s|-bundle|-bundle -isysroot ${universal_sysroot} ${configure.universal_ldflags}|" ${worksrcpath}/Makefile.in
    35                 } else {
    36                         reinplace "s|-bundle|-bundle ${configure.universal_ldflags}|" ${worksrcpath}/Makefile.in
    37                 }
     32                reinplace "s|-shared|-bundle ${configure.ldflags} ${configure.universal_ldflags}|" ${worksrcpath}/Makefile.in
     33        } else {
     34            if {![info exists configure.ld_archflags]} {
     35                set configure.ld_archflags ${configure.cc_archflags}
     36            }
     37            reinplace "s|-shared|-bundle ${configure.ldflags} ${configure.ld_archflags}|" ${worksrcpath}/Makefile.in
    3838        }
    3939}
Note: See TracChangeset for help on using the changeset viewer.