Ticket #16744: universal_build_cdparanioa.diff

File universal_build_cdparanioa.diff, 768 bytes (added by illogical1@…, 16 years ago)

For cdparanoia

  • audio/cdparanoia/Portfile

    old new  
    3737patchfiles              patch-include-cdparanoia-paranoia-p_block.h \
    3838                        patch-interface-osx_interface.c
    3939
     40variant universal {
     41        configure.cflags-append ${configure.universal_cflags}
     42        configure.args-append ${configure.universal_args}
     43        post-configure {
     44                reinplace "s|^\\(archive_cmds\=\"\\\\\$nonopt\\)|\\1 \
     45                -Wl,-syslibroot,$sysroot ${configure.universal_ldflags}|g" \
     46                ${worksrcpath}/libtool
     47        }
     48}
     49
    4050destroot.destdir        prefix=${destroot}${prefix}