#27979: ports requiring libusb should allow libusb-devel to satisfy the dependency -------------------------------+-------------------------------------------- Reporter: njbutko@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libnfc libdc1394 libfreespace libusb-compat usbmuxd libgpod gpsd py26-pyusb-devel py27-pyusb-devel indi usrp iguanaIR nut -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: al-libnfcport@…, brett@…, ecronin@…, jt.burgess@…, jtomshine@…, mail@…, michaelld@…, ricci@…, rmstonecipher@…, ryandesign@…, toby@…, tomldavis@… (added) * port: libdc1394 => libnfc libdc1394 libfreespace libusb-compat usbmuxd libgpod gpsd py26-pyusb-devel py27-pyusb-devel indi usrp iguanaIR nut Comment: The correct solution is not to add variants or add new ports, but to declare the dependency in such a way that either libusb or libusb-devel could satisfy it. This is how all ports should declare dependencies on all ports having -devel versions. That is, the dependency should not be "port:libusb" (nor "port:libusb-devel") but instead "path:lib/pkgconfig/libusb-1.0.pc:libusb". See #14540 for further documentation. Cc'ing maintainers of all ports that depend on libusb. -- Ticket URL: <https://trac.macports.org/ticket/27979#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS