Date: Mon, 11 Oct 2021 21:14:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 259081] comms/hidapi Do an exp run for the cmake switch Message-ID: <bug-259081-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259081 Bug ID: 259081 Summary: comms/hidapi Do an exp run for the cmake switch Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ehaupt@FreeBSD.org Reporter: monwarez@mailoo.org Flags: maintainer-feedback?(ehaupt@FreeBSD.org) Assignee: ehaupt@FreeBSD.org With the switch to cmake, code that use hidapi with libusb backend will not have to be modified to build on FreeBSD. Indeed the cmake build will generate a hidapi-libusb.pc pkg-config files, a= nd will ship with libhidapi-libusb.so. So all ports that depends on it will need to depends of libhidapi-libusb.so And they will need to be unpatched for FreeBSD: they will need to check for hidapi-libusb like on GNU/Linux instead of hidapi (with pkg-config). A dirty fix would be to just change the depends to libhidapi-libusb.so and create a symlink of hidapi-libusb.pc to hidapi.pc . --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259081-7788>