Ticket #17185: Portfile-libusb_universal.diff

File Portfile-libusb_universal.diff, 455 bytes (added by illogic-al@…, 16 years ago)

Patch makes libusb Portfile work with +universal variant

  • libusb/Portfile

    old new  
    1818configure.args   --disable-build-docs
    1919
    2020patchfiles       patch-darwin.c.diff
     21
     22post-configure {
     23        if {[variant_isset universal]} {
     24                reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
     25        }
     26}
     27