git: 835d5954f5ba - main - security/intel-ipsec-mb: Only build unit tests upon request
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Dec 2024 19:41:01 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=835d5954f5ba9b2cbb516c0d7293b185045d5023
commit 835d5954f5ba9b2cbb516c0d7293b185045d5023
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-12-10 18:58:54 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-12-10 19:40:04 +0000
security/intel-ipsec-mb: Only build unit tests upon request
Instead on building unit tests every time just do it when requested
Approved by: portmgr (blanket, build fix)
---
security/intel-ipsec-mb/Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/security/intel-ipsec-mb/Makefile b/security/intel-ipsec-mb/Makefile
index 74fd9c07d9c3..fc323979f94f 100644
--- a/security/intel-ipsec-mb/Makefile
+++ b/security/intel-ipsec-mb/Makefile
@@ -14,15 +14,13 @@ ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= nasm:devel/nasm
-USES= cmake
+USES= cmake:testing
USE_GITHUB= yes
GH_ACCOUNT= intel
USE_LDCONFIG= yes
CMAKE_ARGS= -DMAN_INSTALL_DIR:PATH=${PREFIX}/share/man/man7
-TEST_TARGET= test
-
PLIST_FILES= include/intel-ipsec-mb.h \
lib/libIPSec_MB.so \
lib/libIPSec_MB.so.2 \
@@ -30,6 +28,9 @@ PLIST_FILES= include/intel-ipsec-mb.h \
share/man/man7/libipsec-mb-dev.7.gz \
share/man/man7/libipsec-mb.7.gz
+CMAKE_TESTING_OFF= BUILD_LIBRARY_ONLY
+CMAKE_ON= BUILD_LIBRARY_ONLY
+
OPTIONS_DEFINE= AESNIEMU
AESNIEMU_DESC= Enable AESI-NI Emulation