From ddbaebe2a89c1768a0ea27929971912d0b9ddd1b Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Sat, 26 Oct 2024 23:11:12 +0200 Subject: [PATCH] devel/json-c: Don't build unit tests unless requested Add BUILD_TESTING to CMAKE_OFF to avoid always building unit tests Approved by: portmgr (blanket, build fix) --- devel/json-c/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/json-c/Makefile b/devel/json-c/Makefile index 50e1217fa9d0..39ef11668cf5 100644 --- a/devel/json-c/Makefile +++ b/devel/json-c/Makefile @@ -13,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake:testing compiler:c11 cpe pathfix -CMAKE_OFF= DISABLE_BSYMBOLIC \ +CMAKE_OFF= BUILD_TESTING \ + DISABLE_BSYMBOLIC \ DISABLE_JSON_PATCH \ DISABLE_JSON_POINTER \ DISABLE_STATIC_FPIC \