git: 842a5b42e900 - main - devel/json-c: Convert to USES=cmake:testing

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 06:17:39 UTC
The branch main has been updated by sunpoet:

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

commit 842a5b42e9006efbc830c0cbbf0d7a2cb62ec338
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 06:16:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 06:16:26 +0000

    devel/json-c: Convert to USES=cmake:testing
---
 devel/json-c/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/devel/json-c/Makefile b/devel/json-c/Makefile
index 18c3c927f2a5..50e1217fa9d0 100644
--- a/devel/json-c/Makefile
+++ b/devel/json-c/Makefile
@@ -11,7 +11,7 @@ WWW=		https://github.com/json-c/json-c/wiki
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake compiler:c11 cpe pathfix
+USES=		cmake:testing compiler:c11 cpe pathfix
 
 CMAKE_OFF=	DISABLE_BSYMBOLIC \
 		DISABLE_JSON_PATCH \
@@ -20,13 +20,11 @@ CMAKE_OFF=	DISABLE_BSYMBOLIC \
 		DISABLE_THREAD_LOCAL_STORAGE \
 		ENABLE_RDRAND \
 		ENABLE_THREADING \
-		NEWLOCALE_NEEDS_FREELOCALE \
 		OVERRIDE_GET_RANDOM_SEED
 CMAKE_ON=	BUILD_SHARED_LIBS \
 		BUILD_STATIC_LIBS \
 		DISABLE_EXTRA_LIBS \
 		DISABLE_WERROR
-TEST_TARGET=	test
 USE_LDCONFIG=	yes
 
 CPE_VENDOR=	json-c_project