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:   wiz
Date:           Wed Aug 20 07:12:19 UTC 2025

Modified Files:
        pkgsrc/security/libnitrokey: Makefile options.mk

Log Message:
libnitrokey: fix build with cmake 4

Fix pkglint


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/libnitrokey/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/libnitrokey/options.mk

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.7 pkgsrc/security/libnitrokey/Makefile:1.8
--- pkgsrc/security/libnitrokey/Makefile:1.7    Sun Aug 25 06:19:12 2024
+++ pkgsrc/security/libnitrokey/Makefile        Wed Aug 20 07:12:19 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2024/08/25 06:19:12 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2025/08/20 07:12:19 wiz Exp $
 
 DISTNAME=      libnitrokey-3.8
 PKGREVISION=   3
@@ -27,6 +27,7 @@ CMAKE_CONFIGURE_ARGS+=        -DCOMPILE_TESTS=O
 CMAKE_CONFIGURE_ARGS+= -DHIDAPI_LIBUSB_INCLUDEDIR=${BUILDLINK_PREFIX.libhidapi}/include/hidapi/
 CMAKE_CONFIGURE_ARGS+= -DHIDAPI_LIBUSB_LIBDIR=${BUILDLINK_PREFIX.libhidapi}/lib/
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_INSTALL_UDEVRULESDIR=${PREFIX}/lib/udev/rules.d/
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 TEST_TARGET=   test
 

Index: pkgsrc/security/libnitrokey/options.mk
diff -u pkgsrc/security/libnitrokey/options.mk:1.2 pkgsrc/security/libnitrokey/options.mk:1.3
--- pkgsrc/security/libnitrokey/options.mk:1.2  Sun Aug 25 06:19:12 2024
+++ pkgsrc/security/libnitrokey/options.mk      Wed Aug 20 07:12:19 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2024/08/25 06:19:12 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2025/08/20 07:12:19 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.libnitrokey
 
@@ -15,5 +15,5 @@ DEPENDS+=     graphviz-[0-9]*:../../graphics
 .if ${PKG_OPTIONS:Mtests}
 # These tests do not require any device to be connected
 CMAKE_CONFIGURE_ARGS+= -DCOMPILE_OFFLINE_TESTS=ON
-TEST_DEPENDS+= catch2-[0-9]*:../../devel/catch2
+TEST_DEPENDS+=         catch2-[0-9]*:../../devel/catch2
 .endif



Home | Main Index | Thread Index | Old Index