pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cJSON: Make utils, add buildlink3.mk file
Module Name: pkgsrc-wip
Committed By: Travis Paul <tr%vispaul.me@localhost>
Pushed By: tpaul
Date: Fri Apr 24 21:16:44 2020 +0800
Changeset: d3509878a992a982e419cc71e2ed15dd2d800671
Modified Files:
cJSON/Makefile
cJSON/PLIST
Added Files:
cJSON/buildlink3.mk
Log Message:
cJSON: Make utils, add buildlink3.mk file
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d3509878a992a982e419cc71e2ed15dd2d800671
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
cJSON/Makefile | 1 +
cJSON/PLIST | 7 +++++++
cJSON/buildlink3.mk | 12 ++++++++++++
3 files changed, 20 insertions(+)
diffs:
diff --git a/cJSON/Makefile b/cJSON/Makefile
index 91bb30ee37..9ea49affbf 100644
--- a/cJSON/Makefile
+++ b/cJSON/Makefile
@@ -12,6 +12,7 @@ LICENSE= mit
USE_CMAKE= yes
USE_TOOLS+= pkg-config
+CMAKE_ARGS+= -DENABLE_CJSON_UTILS=On
TEST_TARGET= test
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}
diff --git a/cJSON/PLIST b/cJSON/PLIST
index a59324d911..d78fcbd888 100644
--- a/cJSON/PLIST
+++ b/cJSON/PLIST
@@ -1,10 +1,17 @@
@comment $NetBSD$
include/cjson/cJSON.h
+include/cjson/cJSON_Utils.h
lib/cmake/cJSON/cJSONConfig.cmake
lib/cmake/cJSON/cJSONConfigVersion.cmake
lib/cmake/cJSON/cjson-noconfig.cmake
lib/cmake/cJSON/cjson.cmake
+lib/cmake/cJSON/cjson_utils-noconfig.cmake
+lib/cmake/cJSON/cjson_utils.cmake
lib/libcjson.so
lib/libcjson.so.1
lib/libcjson.so.${PKGVERSION}
+lib/libcjson_utils.so
+lib/libcjson_utils.so.1
+lib/libcjson_utils.so.${PKGVERSION}
lib/pkgconfig/libcjson.pc
+lib/pkgconfig/libcjson_utils.pc
diff --git a/cJSON/buildlink3.mk b/cJSON/buildlink3.mk
new file mode 100644
index 0000000000..df3861f18b
--- /dev/null
+++ b/cJSON/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= cJSON
+
+.if !defined(CJSON_BUILDLINK3_MK)
+CJSON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cJSON+= cJSON>=1.7.13
+BUILDLINK_PKGSRCDIR.cJSON?= ../../wip/cJSON
+.endif # CJSON_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -cJSON
Home |
Main Index |
Thread Index |
Old Index