git: bc32c0c84861 - main - science/libaec: Do not build testing unconditionally

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Apr 2024 00:03:14 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bc32c0c8486198b2bb1ef7bb8c9baeeb705cd280

commit bc32c0c8486198b2bb1ef7bb8c9baeeb705cd280
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-06 00:00:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-06 00:00:10 +0000

    science/libaec: Do not build testing unconditionally
    
    PR:             278073
    Reported by:    diizzy
---
 science/libaec/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/science/libaec/Makefile b/science/libaec/Makefile
index 0db27ff1dc99..16402743db3e 100644
--- a/science/libaec/Makefile
+++ b/science/libaec/Makefile
@@ -13,7 +13,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		cmake:testing
 
-CMAKE_OFF=	AEC_FUZZING
+CMAKE_OFF=	AEC_FUZZING BUILD_TESTING
+CMAKE_TESTING_ON=	BUILD_TESTING
 USE_LDCONFIG=	yes
 
 .include <bsd.port.mk>