[MacPorts] #60689: Allow libusb-devel to satisfy dependencies

MacPorts noreply at macports.org
Sat Jun 20 21:36:49 UTC 2020


#60689: Allow libusb-devel to satisfy dependencies
-------------------------+--------------------------
 Reporter:  ryandesign   |      Owner:  michaelld
     Type:  enhancement  |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.2
 Keywords:               |       Port:  libusb-devel
-------------------------+--------------------------
 libusb-devel exists but most ports that depend on libusb do so using
 `port:libusb`; libusb-devel cannot be used to satisfy that dependency.

 Of the remaining ports that depend on libusb, there is no consistency in
 how they do it. Some use `path:lib/libusb-1.0.dylib:libusb`, some use
 `path:lib/libusb.dylib:libusb`, and some use
 `path:lib/pkgconfig/libusb-1.0.pc:libusb`. Although it does not matter to
 MacPorts which file is used in the dependency, as long as it exists in
 both ports, it is good have a standard way of doing things.

 All ports that depend on libusb should be changed to depend on it using a
 consistent style that allows either port to satisfy it. I recommend making
 the pkg-config file the canonical file, e.g.
 `path:lib/pkgconfig/libusb-1.0.pc:libusb`. This matches what I previously
 standardized on with libpixman, cairo, pango, glib2.

-- 
Ticket URL: <https://trac.macports.org/ticket/60689>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list