git: 13721d5ceda9 - main - devel/libcjson: Add USE_LDCONFIG

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 15 Aug 2024 11:54:30 UTC
The branch main has been updated by sunpoet:

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

commit 13721d5ceda99b04e61fd7349174d133d0e68d65
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-15 09:41:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-15 10:55:25 +0000

    devel/libcjson: Add USE_LDCONFIG
    
    - Cosmetic change
---
 devel/libcjson/Makefile | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/devel/libcjson/Makefile b/devel/libcjson/Makefile
index eb14031b0f4e..c05e3c46f6d7 100644
--- a/devel/libcjson/Makefile
+++ b/devel/libcjson/Makefile
@@ -13,10 +13,25 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		cmake:testing compiler:c11 pathfix
 
-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_UNINSTALL ENABLE_CJSON_UTILS ENABLE_CJSON_VERSION_SO ENABLE_LOCALES ENABLE_PUBLIC_SYMBOLS ENABLE_TARGET_EXPORT
-CMAKE_TESTING_ON=	ENABLE_CJSON_TEST ENABLE_SAFE_STACK
+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_UNINSTALL \
+		ENABLE_CJSON_UTILS \
+		ENABLE_CJSON_VERSION_SO \
+		ENABLE_LOCALES \
+		ENABLE_PUBLIC_SYMBOLS \
+		ENABLE_TARGET_EXPORT
+CMAKE_TESTING_ON=	ENABLE_CJSON_TEST \
+			ENABLE_SAFE_STACK
 USE_CSTD=	c11
+USE_LDCONFIG=	yes
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}