pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/libnitrokey
Module Name: pkgsrc
Committed By: nikita
Date: Mon May 22 16:43:20 UTC 2023
Modified Files:
pkgsrc/security/libnitrokey: Makefile
Log Message:
libnitrokey: maybe needs udev on Linux
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/libnitrokey/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/libnitrokey/Makefile
diff -u pkgsrc/security/libnitrokey/Makefile:1.3 pkgsrc/security/libnitrokey/Makefile:1.4
--- pkgsrc/security/libnitrokey/Makefile:1.3 Wed May 17 15:37:07 2023
+++ pkgsrc/security/libnitrokey/Makefile Mon May 22 16:43:20 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2023/05/17 15:37:07 nikita Exp $
+# $NetBSD: Makefile,v 1.4 2023/05/22 16:43:20 nikita Exp $
DISTNAME= libnitrokey-3.8
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=Nitrokey/}
GITHUB_PROJECT= libnitrokey
@@ -15,7 +15,6 @@ LICENSE= gnu-lgpl-v3
USE_TOOLS+= pkg-config
.include "options.mk"
-# depends: libudev-devd ?
# actual hardware tests
# 1. require a connected Nitrokey
@@ -25,6 +24,7 @@ CMAKE_ARGS+= -DCOMPILE_TESTS=OFF
CMAKE_ARGS+= -DHIDAPI_LIBUSB_INCLUDEDIR=${BUILDLINK_PREFIX.libhidapi}/include/hidapi/
CMAKE_ARGS+= -DHIDAPI_LIBUSB_LIBDIR=${BUILDLINK_PREFIX.libhidapi}/lib/
+CMAKE_ARGS+= -DCMAKE_INSTALL_UDEVRULESDIR=${BUILDLINK_PREFIX.libudev}/lib/udev/rules.d/
TEST_TARGET= test
USE_LANGUAGES= c c++14
@@ -32,4 +32,7 @@ USE_LANGUAGES= c c++14
.include "../../devel/libusb1/buildlink3.mk"
.include "../../comms/libhidapi/buildlink3.mk"
.include "../../devel/cmake/build.mk"
+.if ${OPSYS} == "Linux"
+.include "../../sysutils/libudev/buildlink3.mk"
+.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index