Ticket #16744: apple-gcc42_build_universal_build_flac.diff

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

flac Portfile patch to allow universal compiling

  • audio/flac/Portfile

    old new  
    3030configure.args  --mandir=${prefix}/share/man \
    3131                --disable-xmms-plugin
    3232
     33post-configure {
     34        reinplace "s|verstring\=|\ s:\${wl}:|g" ${worksrcpath}/libtool
     35        if {[variant_isset universal]} {
     36                reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
     37        }
     38}
     39
    3340build.args      OBJ_FORMAT=macho
    3441
    3542test.run        yes