diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-03-21 18:39:47 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-03-21 19:20:03 +0000 |
commit | f6c2153c583d1fe1fc628061afe060011f211094 (patch) | |
tree | ad18405fc799372d56a44b13fa65fe9c759661ed | |
parent | df18abd9fb1f49e1088a510ebe2a68ea863f081b (diff) | |
download | ports-f6c2153c583d1fe1fc628061afe060011f211094.tar.gz ports-f6c2153c583d1fe1fc628061afe060011f211094.zip |
devel/libcjson: Convert to cmake:testing
- Use complete arguments/options
- Bump PORTREVISION for package change
-rw-r--r-- | devel/libcjson/Makefile | 8 |
1 files 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} |