git: f6c2153c583d - main - devel/libcjson: Convert to cmake:testing

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:24:43 UTC
The branch main has been updated by sunpoet:

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

commit f6c2153c583d1fe1fc628061afe060011f211094
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:39:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:20:03 +0000

    devel/libcjson: Convert to cmake:testing
    
    - Use complete arguments/options
    - Bump PORTREVISION for package change
---
 devel/libcjson/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/devel/libcjson/Makefile b/devel/libcjson/Makefile
index e6e3a2ff67d4..787b363c86ed 100644
--- a/devel/libcjson/Makefile
+++ b/devel/libcjson/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libcjson
 PORTVERSION=	1.7.15
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -10,10 +11,11 @@ WWW=		https://github.com/DaveGamble/cJSON
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c11
+USES=		cmake:testing compiler:c11
 
-CMAKE_ON=	BUILD_SHARED_AND_STATIC_LIBS ENABLE_CJSON_UTILS ENABLE_TARGET_EXPORT
-CMAKE_OFF=	ENABLE_CUSTOM_COMPILER_FLAGS
+CMAKE_OFF=	CJSON_OVERRIDE_BUILD_SHARED_LIBS ENABLE_CJSON_TEST ENABLE_CUSTOM_COMPILER_FLAGS ENABLE_HIDDEN_SYMBOLS ENABLE_SAFE_STACK ENABLE_SANITIZERS
+CMAKE_ON=	BUILD_SHARED_AND_STATIC_LIBS BUILD_SHARED_LIBS CJSON_BUILD_SHARED_LIBS ENABLE_CJSON_UTILS ENABLE_LOCALES ENABLE_PUBLIC_SYMBOLS ENABLE_TARGET_EXPORT
+CMAKE_TESTING_ON=	ENABLE_CJSON_TEST ENABLE_SAFE_STACK
 USE_CSTD=	c11
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}