security/razorback-masterNugget: Chase json-c update (Unbreak)

This commit is contained in:
John Marino 2014-08-20 17:04:00 +00:00
parent 193059905e
commit 2b99feea32
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365483
2 changed files with 15 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= masterNugget
PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/razorbacktm/Nuggets
PKGNAMEPREFIX= razorback-
@ -14,9 +15,11 @@ COMMENT= Framework for an intelligence driven security - Master Nugget
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api
LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api \
libjson-c.so:${PORTSDIR}/devel/json-c
USES= libtool pkgconfig
USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
USE_RC_SUBR= masterNugget masterNugget_safed
CPPFLAGS+= -I${LOCALBASE}/include

View File

@ -0,0 +1,11 @@
--- common_m4/api_deps.m4.orig 2012-04-16 18:59:44 UTC
+++ common_m4/api_deps.m4
@@ -55,7 +55,7 @@ LIBS="$LIBCONFIG_LIBS $LIBS"
# [AC_MSG_ERROR("curl header file not found")]
# )
-PKG_CHECK_MODULES([JSON], [json >= 0.9])
+PKG_CHECK_MODULES([JSON], [json-c >= 0.9])
CFLAGS="$JSON_CFLAGS $CFLAGS"
LIBS="$JSON_LIBS $LIBS"