[MacPorts] #67189: hidapi @0.12.0_0: hidapi_darwin.h missing
MacPorts
noreply at macports.org
Tue Sep 26 03:10:14 UTC 2023
#67189: hidapi @0.12.0_0: hidapi_darwin.h missing
-----------------------------------+----------------------
Reporter: UNIVAC-Colonel-Panic | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: hidapi |
-----------------------------------+----------------------
Comment (by ryandesign):
I haven't forgotten about this.
Just to document it somewhere in MacPorts space, the other problem with
switching hidapi to cmake is that it would no longer make both the dynamic
and static libraries at the same time. Upstream has a
[https://github.com/libusb/hidapi/blob/master/BUILD.cmake.md#both-shared-
and-static-build recommended set of steps] for how to make them
separately. It doesn't fit well into the model used by the MacPorts cmake
portgroup which expects to run `cmake` and `make` once each but the
[source:macports-ports/devel/astyle/Portfile astyle Portfile] provides a
possible example we could follow for hidapi.
--
Ticket URL: <https://trac.macports.org/ticket/67189#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list