git: 328e8289a79b - main - security/libfido2: Add make test
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Jan 2025 02:50:23 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=328e8289a79b009716cbe3d76c41fc3f2692a739
commit 328e8289a79b009716cbe3d76c41fc3f2692a739
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-02 02:43:46 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-02 02:43:46 +0000
security/libfido2: Add make test
---
security/libfido2/Makefile | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/security/libfido2/Makefile b/security/libfido2/Makefile
index 670e4f3b8fda..b4c9d9f2765f 100644
--- a/security/libfido2/Makefile
+++ b/security/libfido2/Makefile
@@ -13,11 +13,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcbor.so:devel/libcbor
-USES= cmake compiler:c11 pathfix pkgconfig ssl
+USES= cmake:testing compiler:c11 pathfix pkgconfig ssl
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
-CMAKE_OFF= FUZZ LIBFUZZER NFC_LINUX USE_HIDAPI USE_WINHELLO
-CMAKE_ON= BUILD_EXAMPLES BUILD_MANPAGES BUILD_SHARED_LIBS BUILD_STATIC_LIBS BUILD_TOOLS
+CMAKE_OFF= BUILD_TESTS \
+ FUZZ \
+ NFC_LINUX \
+ USE_HIDAPI \
+ USE_PCSC \
+ USE_WINHELLO
+CMAKE_ON= BUILD_EXAMPLES \
+ BUILD_MANPAGES \
+ BUILD_SHARED_LIBS \
+ BUILD_STATIC_LIBS \
+ BUILD_TOOLS
+CMAKE_TESTING_ON= BUILD_TESTS
PLIST_SUB= PORTVERSION=${PORTVERSION}