Skip to content

Commit

Permalink
devel/libcjson: Convert to cmake:testing
Browse files Browse the repository at this point in the history
- Use complete arguments/options
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Mar 21, 2023
1 parent df18abd commit f6c2153
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions devel/libcjson/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libcjson
PORTVERSION= 1.7.15
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= devel

Expand All @@ -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}
Expand Down

0 comments on commit f6c2153

Please sign in to comment.