Ticket #16744: apple-gcc42_build_universal_build_pth.diff

File apple-gcc42_build_universal_build_pth.diff, 673 bytes (added by illogical1@…, 12 years ago)

pth Portfile patch to allow universal compiling

  • devel/pth/Portfile

    old new  
    2626
    2727configure.args      --mandir=${prefix}/share/man
    2828
     29post-configure {
     30    reinplace "s|verstring\=|\ s:\${wl}:|g" ${worksrcpath}/libtool
     31        if {[variant_isset universal]} {
     32                reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
     33        }
     34}
     35
    2936post-destroot {
    3037    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    3138    xinstall -m 644 -W ${worksrcpath} ANNOUNCE AUTHORS ChangeLog COPYING \