Ticket #52376: usbutils.3.patch

File usbutils.3.patch, 659 bytes (added by lbschenkel (Leonardo Brondani Schenkel), 8 years ago)

split the USB ID database into its own port (usbids) and make usbutils depend on it

  • usbutils/Portfile

    diff --git a/usbutils/Portfile b/usbutils/Portfile
    a b  
    2121depends_build       port:pkgconfig
    2222
    2323depends_lib         port:libusb \
     24                    port:usbids \
    2425                    port:zlib
    2526
    2627# Darwin linker has no "--as-needed"
     
    3031# ("lsusb" and the hardware database) manually
    3132destroot {
    3233    xinstall -m 0755 ${worksrcpath}/lsusb ${destroot}${prefix}/bin/lsusb
    33     xinstall -m 0644 ${worksrcpath}/usb.ids.gz ${destroot}${prefix}/share
    3434    xinstall -d ${destroot}${prefix}/share/man/man8
    3535    xinstall -m 0644 ${worksrcpath}/lsusb.8 ${destroot}${prefix}/share/man/man8
    3636