pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/comms/libhidapi
Module Name: pkgsrc
Committed By: jperkin
Date: Tue Dec 7 16:42:13 UTC 2021
Modified Files:
pkgsrc/comms/libhidapi: Makefile PLIST
Log Message:
libhidapi: Support install on Darwin.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/comms/libhidapi/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/libhidapi/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/comms/libhidapi/Makefile
diff -u pkgsrc/comms/libhidapi/Makefile:1.4 pkgsrc/comms/libhidapi/Makefile:1.5
--- pkgsrc/comms/libhidapi/Makefile:1.4 Sat Nov 20 18:59:05 2021
+++ pkgsrc/comms/libhidapi/Makefile Tue Dec 7 16:42:13 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2021/11/20 18:59:05 nia Exp $
+# $NetBSD: Makefile,v 1.5 2021/12/07 16:42:13 jperkin Exp $
GITHUB_PROJECT= hidapi
GITHUB_TAG= ${GITHUB_PROJECT}-0.11.0
@@ -24,6 +24,14 @@ PKGCONFIG_OVERRIDE+= pc/hidapi-hidraw.pc
PKGCONFIG_OVERRIDE+= pc/hidapi-libusb.pc.in
PKGCONFIG_OVERRIDE+= pc/hidapi.pc.in
+PLIST_VARS+= libusb
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+PLIST.libusb= yes
+.endif
+
pre-configure:
cd ${WRKSRC} && ${SH} ./bootstrap
Index: pkgsrc/comms/libhidapi/PLIST
diff -u pkgsrc/comms/libhidapi/PLIST:1.3 pkgsrc/comms/libhidapi/PLIST:1.4
--- pkgsrc/comms/libhidapi/PLIST:1.3 Sat Nov 20 18:59:05 2021
+++ pkgsrc/comms/libhidapi/PLIST Tue Dec 7 16:42:13 2021
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2021/11/20 18:59:05 nia Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/12/07 16:42:13 jperkin Exp $
include/hidapi/hidapi.h
-include/hidapi/hidapi_libusb.h
+${PLIST.libusb}include/hidapi/hidapi_libusb.h
lib/libhidapi.la
lib/pkgconfig/hidapi.pc
share/doc/hidapi/AUTHORS.txt
Home |
Main Index |
Thread Index |
Old Index