Opened 4 years ago

Closed 3 years ago

#60689 closed enhancement (fixed)

Allow libusb-devel to satisfy dependencies

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: evanmiller (Evan Miller)
Port: libusb-devel

Description

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.

Change History (2)

comment:1 Changed 3 years ago by evanmiller (Evan Miller)

Cc: evanmiller added

comment:2 Changed 3 years ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed

In 93722ca8e2bb86fd911c96731659e2a790572ace/macports-ports (master):

libusb ports: move to path-style dependency

Closes: #60689

Note: See TracTickets for help on using tickets.