pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/jsoncpp jsoncpp: build shared library
details: https://anonhg.NetBSD.org/pkgsrc/rev/fb5e831251fd
branches: trunk
changeset: 322132:fb5e831251fd
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Apr 09 06:48:18 2019 +0000
description:
jsoncpp: build shared library
Bump PKGREVISION.
diffstat:
textproc/jsoncpp/Makefile | 5 ++++-
textproc/jsoncpp/PLIST | 7 +++++--
textproc/jsoncpp/buildlink3.mk | 3 +--
textproc/jsoncpp/distinfo | 3 ++-
textproc/jsoncpp/patches/patch-CMakeLists.txt | 15 +++++++++++++++
5 files changed, 27 insertions(+), 6 deletions(-)
diffs (88 lines):
diff -r 990850d83197 -r fb5e831251fd textproc/jsoncpp/Makefile
--- a/textproc/jsoncpp/Makefile Tue Apr 09 06:04:31 2019 +0000
+++ b/textproc/jsoncpp/Makefile Tue Apr 09 06:48:18 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2018/12/02 16:41:57 adam Exp $
+# $NetBSD: Makefile,v 1.9 2019/04/09 06:48:18 wiz Exp $
DISTNAME= jsoncpp-1.8.4
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=open-source-parsers/}
@@ -10,6 +11,8 @@
LICENSE= public-domain OR mit
USE_CMAKE= yes
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
+CMAKE_ARGS+= -DJSONCPP_WITH_TESTS:BOOL=OFF
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE= pkg-config/jsoncpp.pc.in
diff -r 990850d83197 -r fb5e831251fd textproc/jsoncpp/PLIST
--- a/textproc/jsoncpp/PLIST Tue Apr 09 06:04:31 2019 +0000
+++ b/textproc/jsoncpp/PLIST Tue Apr 09 06:48:18 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/04/19 11:16:37 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/04/09 06:48:18 wiz Exp $
include/json/allocator.h
include/json/assertions.h
include/json/autolink.h
@@ -10,5 +10,8 @@
include/json/value.h
include/json/version.h
include/json/writer.h
-lib/libjsoncpp.a
+lib/libjsoncpp.so
+lib/libjsoncpp.so.1
+lib/libjsoncpp.so.${PKGVERSION}
+lib/libjsoncpp_static.a
lib/pkgconfig/jsoncpp.pc
diff -r 990850d83197 -r fb5e831251fd textproc/jsoncpp/buildlink3.mk
--- a/textproc/jsoncpp/buildlink3.mk Tue Apr 09 06:04:31 2019 +0000
+++ b/textproc/jsoncpp/buildlink3.mk Tue Apr 09 06:48:18 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2014/04/18 22:26:08 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2019/04/09 06:48:18 wiz Exp $
BUILDLINK_TREE+= jsoncpp
@@ -7,7 +7,6 @@
BUILDLINK_API_DEPENDS.jsoncpp+= jsoncpp>=0.6.0rc2svn276
BUILDLINK_PKGSRCDIR.jsoncpp?= ../../textproc/jsoncpp
-BUILDLINK_DEPMETHOD.jsoncpp?= build
.endif # JSONCPP_BUILDLINK3_MK
BUILDLINK_TREE+= -jsoncpp
diff -r 990850d83197 -r fb5e831251fd textproc/jsoncpp/distinfo
--- a/textproc/jsoncpp/distinfo Tue Apr 09 06:04:31 2019 +0000
+++ b/textproc/jsoncpp/distinfo Tue Apr 09 06:48:18 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2018/12/02 16:41:57 adam Exp $
+$NetBSD: distinfo,v 1.8 2019/04/09 06:48:18 wiz Exp $
SHA1 (jsoncpp-1.8.4.tar.gz) = 98a56dba0cc6378c91668b6e1c120a657820c45e
RMD160 (jsoncpp-1.8.4.tar.gz) = 5444cc199daef95c3297aacafb7471d1a4e2b3bf
SHA512 (jsoncpp-1.8.4.tar.gz) = f70361a3263dd8b9441374a9a409462be1426c0d6587c865171a80448ab73b3f69de2b4d70d2f0c541764e1e6cccc727dd53178347901f625ec6fb54fb94f4f1
Size (jsoncpp-1.8.4.tar.gz) = 200226 bytes
+SHA1 (patch-CMakeLists.txt) = ce873c2fb1a1c6df0748613f0d1fe8441ceb1132
diff -r 990850d83197 -r fb5e831251fd textproc/jsoncpp/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jsoncpp/patches/patch-CMakeLists.txt Tue Apr 09 06:48:18 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/04/09 06:48:18 wiz Exp $
+
+Make so version match symlink versions.
+
+--- CMakeLists.txt.orig 2017-12-20 21:07:10.000000000 +0000
++++ CMakeLists.txt
+@@ -64,7 +64,7 @@ jsoncpp_parse_version( ${JSONCPP_VERSION
+ #IF(NOT JSONCPP_VERSION_FOUND)
+ # MESSAGE(FATAL_ERROR "Failed to parse version string properly. Expect X.Y.Z")
+ #ENDIF(NOT JSONCPP_VERSION_FOUND)
+-SET( JSONCPP_SOVERSION 19 )
++SET( JSONCPP_SOVERSION ${JSONCPP_VERSION_MAJOR} )
+ SET( JSONCPP_USE_SECURE_MEMORY "0" CACHE STRING "-D...=1 to use memory-wiping allocator for STL" )
+
+ MESSAGE(STATUS "JsonCpp Version: ${JSONCPP_VERSION_MAJOR}.${JSONCPP_VERSION_MINOR}.${JSONCPP_VERSION_PATCH}")
Home |
Main Index |
Thread Index |
Old Index