jonesc at hep.phy.cam.ac.uk
Tue Apr 5 20:53:24 UTC 2022
> On 5 Apr 2022, at 3:08 pm, Christoph Kukulies <kuku at kukulies.org> wrote:
> Thanks. Assumed I have downloaded a binary release from libusb’s github Releases and it looks like that in the tree:
> $ find macos_11.6
> How can I make these active in libusb-devel or otherwise available?
You cannot. Macports strongly prefers to build ports from source itself, and only redistributes rebuilt binaries in extreme circumstances.
You need to update the port file to fetch and then build a newer github revision for the devel subport. See
See line 60 onwards.
That said, the devel port currently builds a revision that appears to be from the 3rd of April this year, so is pretty recent. Is this not new enough ?
> Do the pkgconfig .pc files play a role in the installation mechanism?
>> Am 05.04.2022 um 15:36 schrieb Chris Jones <jonesc at hep.phy.cam.ac.uk>:
>>> On 05/04/2022 1:54 pm, Christoph Kukulies wrote:
>>> Thanks. Nonetheless I don‘t get how I can aim at a specific version or 1.0.26-rc1 „HEAD“
>> 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.
>> If you want a different version than libusb-devel currently provides, then you need to update the port to provide this.
>>> Btw, what is the correspondent to
>>> under macOS?
>> otool -L
>>>> Am 05.04.2022 um 12:56 schrieb Chris Jones <jonesc at hep.phy.cam.ac.uk>:
>>>>> On 05/04/2022 11:50 am, Christoph Kukulies wrote:
>>>>> $ sudo port deactivate libusb @1.0.25_0
>>>>> Note: It is not recommended to uninstall/deactivate a port that has dependents as it breaks the dependents.
>>>>> The following ports will break:
>>>>> libusb-compat @0.1.7_0
>>>>> openocd @0.11.0_0
>>>>> usbutils @007_1
>>>>> libftdi1 @1.5_1
>>>>> qemu @6.2.0_0
>>>>> stlink @1.7.0_1
>>>>> Continue? [y/N]:
>>>>> OK to continue?
>>>> ports that depend on libusb should use a path style dependency, to allow libusb or libusb-devel to satisfy it
>>>> so assuming you are about to install libusb-devel its fine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users