From 835d5954f5ba9b2cbb516c0d7293b185045d5023 Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Tue, 10 Dec 2024 19:58:54 +0100 Subject: [PATCH] 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