Update to libyajl-2.0.4

ok jasper@
This commit is contained in:
dcoppa 2012-06-28 08:50:49 +00:00
parent 9a2078f7d9
commit 3f404a247d
5 changed files with 43 additions and 17 deletions

View File

@ -1,15 +1,14 @@
# $OpenBSD: Makefile,v 1.7 2012/03/29 13:38:30 sthen Exp $
# $OpenBSD: Makefile,v 1.8 2012/06/28 08:50:49 dcoppa Exp $
COMMENT = small JSON library written in ANSI C
V = 2.0.1
V = 2.0.4
PKGNAME = libyajl-${V}
REVISION = 0
DISTNAME = lloyd-yajl-${V}
CATEGORIES = devel
SHARED_LIBS = yajl 1.0 # 2.0
SHARED_LIBS = yajl 2.0 # 2.0.4
HOMEPAGE = http://lloyd.github.com/yajl/
@ -26,11 +25,4 @@ WANTLIB = c
MODULES = devel/cmake
SEPARATE_BUILD =Yes
WRKDIST = ${WRKDIR}/lloyd-yajl-f4b2b1a
pre-regress:
ln -s ${WRKBUILD} ${WRKSRC}/build
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (lloyd-yajl-2.0.1.tar.gz) = 32p1HneXucIYLv2RtdZAFw==
RMD160 (lloyd-yajl-2.0.1.tar.gz) = MF+Si8L/AeILnDYvMDLef5SP3ME=
SHA1 (lloyd-yajl-2.0.1.tar.gz) = JzTc/nVOGJJ+WtbQQyRwbx/3G+w=
SHA256 (lloyd-yajl-2.0.1.tar.gz) = wtkJa6HryaNoNHx8aVz7vHJpBXGl95Vc4ibu2+pbRyE=
SIZE (lloyd-yajl-2.0.1.tar.gz) = 82102
MD5 (lloyd-yajl-2.0.4.tar.gz) = 59Gw2b4/nH+10mfjemcHWQ==
RMD160 (lloyd-yajl-2.0.4.tar.gz) = zQb111xgIifA2X0NZu77VOw8DA0=
SHA1 (lloyd-yajl-2.0.4.tar.gz) = /pdCqPfZEemvid/dm+DXBl2r+ZQ=
SHA256 (lloyd-yajl-2.0.4.tar.gz) = perBFf/xV/ayuM7wKiyf5WGe7Lroivxb8leU281d8n4=
SIZE (lloyd-yajl-2.0.4.tar.gz) = 82928

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-reformatter_CMakeLists_txt,v 1.1 2012/06/28 08:50:49 dcoppa Exp $
Fix static linking and tests
(from gentoo linux)
--- reformatter/CMakeLists.txt.orig Tue Dec 20 01:23:22 2011
+++ reformatter/CMakeLists.txt Thu Jun 28 10:09:59 2012
@@ -26,7 +26,7 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/../${YAJL
ADD_EXECUTABLE(json_reformat ${SRCS})
-TARGET_LINK_LIBRARIES(json_reformat yajl_s)
+TARGET_LINK_LIBRARIES(json_reformat yajl)
# copy the binary into the output directory
GET_TARGET_PROPERTY(binPath json_reformat LOCATION)

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-verify_CMakeLists_txt,v 1.1 2012/06/28 08:50:49 dcoppa Exp $
Fix static linking and tests
(from gentoo linux)
--- verify/CMakeLists.txt.orig Tue Dec 20 01:23:22 2011
+++ verify/CMakeLists.txt Thu Jun 28 10:09:59 2012
@@ -26,7 +26,7 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/../${YAJL
ADD_EXECUTABLE(json_verify ${SRCS})
-TARGET_LINK_LIBRARIES(json_verify yajl_s)
+TARGET_LINK_LIBRARIES(json_verify yajl)
# copy in the binary
GET_TARGET_PROPERTY(binPath json_verify LOCATION)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2011/05/05 12:17:44 dcoppa Exp $
@comment $OpenBSD: PLIST,v 1.5 2012/06/28 08:50:49 dcoppa Exp $
%%SHARED%%
@bin bin/json_reformat
@bin bin/json_verify
@ -9,3 +9,5 @@ include/yajl/yajl_parse.h
include/yajl/yajl_tree.h
include/yajl/yajl_version.h
lib/libyajl_s.a
share/pkgconfig/
share/pkgconfig/yajl.pc