aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2024-10-26 21:11:12 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2024-10-26 21:11:15 +0000
commitddbaebe2a89c1768a0ea27929971912d0b9ddd1b (patch)
treea1f0ec6190cc115069f1c5f35c76ec0ebcaefb99
parent6467d8510a67993ba1ebdd811a803268a255e6dc (diff)
downloadports-ddbaebe2a89c1768a0ea27929971912d0b9ddd1b.tar.gz
ports-ddbaebe2a89c1768a0ea27929971912d0b9ddd1b.zip
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)
-rw-r--r--devel/json-c/Makefile3
1 files changed, 2 insertions, 1 deletions
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 \