<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks. Assumed I have downloaded a binary release from libusb’s github Releases and it looks like that in the tree:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ find macos_11.6</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/.DS_Store</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin/dpfp</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin/listdevs</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin/sam3u_benchmark</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin/fxload</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin/xusb</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin/testlibusb</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin/hotplugtest</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/bin/stress</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/include</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/include/.DS_Store</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/include/libusb-1.0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/include/libusb-1.0/libusb.h</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/lib</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/lib/pkgconfig</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/lib/pkgconfig/libusb-1.0.pc</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/lib/libusb-1.0.dylib</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/lib/libusb-1.0.0.dylib</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/lib/libusb-1.0.a</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Courier New"; background-color: rgb(254, 244, 139);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">macos_11.6/lib/<a href="http://libusb-1.0.la" class="">libusb-1.0.la</a></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div>
<div>How can I make these active in libusb-devel or otherwise available?</div><div><br class=""></div><div>Do the pkgconfig .pc files play a role in the installation mechanism?</div><div><br class=""></div><div>—</div><div>Christoph</div><div><br class=""><blockquote type="cite" class=""><div class="">Am 05.04.2022 um 15:36 schrieb Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">On 05/04/2022 1:54 pm, Christoph Kukulies wrote:<br class=""><blockquote type="cite" class="">Thanks. Nonetheless I don‘t get how I can aim at a specific version or 1.0.26-rc1 „HEAD“<br class=""></blockquote><br class="">you cannot. You still get whatever version libusb-devel is current set to provide. The idea of a X-devel port though is these can be updated and tested without affecting the default X port.<br class=""><br class="">If you want a different version than libusb-devel currently provides, then you need to update the port to provide this.<br class=""><br class=""><blockquote type="cite" class="">Btw, what is the correspondent to<br class="">ldd<br class="">under macOS?<br class=""></blockquote><br class="">otool -L<br class=""><br class=""><blockquote type="cite" class="">—<br class="">Christoph<br class=""><blockquote type="cite" class="">Am 05.04.2022 um 12:56 schrieb Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>>:<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On 05/04/2022 11:50 am, Christoph Kukulies wrote:<br class="">$ sudo port deactivate libusb @1.0.25_0<br class="">Password:<br class="">Note: It is not recommended to uninstall/deactivate a port that has dependents as it breaks the dependents.<br class="">The following ports will break:<br class="">  libusb-compat @0.1.7_0<br class="">  openocd @0.11.0_0<br class="">  usbutils @007_1<br class="">  libftdi1 @1.5_1<br class="">  qemu @6.2.0_0<br class="">  stlink @1.7.0_1<br class="">Continue? [y/N]:<br class=""><br class="">OK to continue?<br class=""></blockquote><br class="">yes.<br class=""><br class="">ports that depend on libusb should use a path style dependency, to allow libusb or libusb-devel to satisfy it<br class=""><br class="">path:lib/pkgconfig/libusb-1.0.pc:libusb<br class=""><br class="">so assuming you are about to install libusb-devel its fine.<br class=""></blockquote></blockquote></div></div></blockquote></div><br class=""></div></body></html>