diff options
author | marino <marino@FreeBSD.org> | 2014-08-21 02:15:35 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-08-21 02:15:35 +0800 |
commit | 965597a2aa0c9d11e27bf988aeb54ef6951839f9 (patch) | |
tree | 535436d66473539b4ffe3ac34bc921a9a4f0f2c3 /security | |
parent | 38bdd1263c1c69eed3bb35f732827007ac398f4f (diff) | |
download | freebsd-ports-gnome-965597a2aa0c9d11e27bf988aeb54ef6951839f9.tar.gz freebsd-ports-gnome-965597a2aa0c9d11e27bf988aeb54ef6951839f9.tar.zst freebsd-ports-gnome-965597a2aa0c9d11e27bf988aeb54ef6951839f9.zip |
security/razorback-fsMonitor: Chase json-c update (Unbreak)
Diffstat (limited to 'security')
3 files changed, 25 insertions, 0 deletions
diff --git a/security/razorback-fsMonitor/Makefile b/security/razorback-fsMonitor/Makefile index c626e6b684e1..27656d26787d 100644 --- a/security/razorback-fsMonitor/Makefile +++ b/security/razorback-fsMonitor/Makefile @@ -3,6 +3,7 @@ PORTNAME= fsMonitor PORTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/razorbacktm/Nuggets PKGNAMEPREFIX= razorback- @@ -15,10 +16,12 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api \ + libjson-c.so:${PORTSDIR}/devel/json-c \ libfam.so:${PORTSDIR}/devel/fam USES= libtool pkgconfig GNU_CONFIGURE= yes +USE_AUTOTOOLS= autoconf CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/security/razorback-fsMonitor/files/patch-common__m4_api__deps.m4 b/security/razorback-fsMonitor/files/patch-common__m4_api__deps.m4 new file mode 100644 index 000000000000..b424f894f261 --- /dev/null +++ b/security/razorback-fsMonitor/files/patch-common__m4_api__deps.m4 @@ -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" diff --git a/security/razorback-fsMonitor/files/patch-common__m4_compiler__options.m4 b/security/razorback-fsMonitor/files/patch-common__m4_compiler__options.m4 new file mode 100644 index 000000000000..8e2572727b90 --- /dev/null +++ b/security/razorback-fsMonitor/files/patch-common__m4_compiler__options.m4 @@ -0,0 +1,11 @@ +--- common_m4/compiler_options.m4.orig 2012-01-04 18:17:09 UTC ++++ common_m4/compiler_options.m4 +@@ -28,7 +28,7 @@ if test "$GCC" = yes ; then + + CFLAGS="$CFLAGS -std=c99 -fno-strict-aliasing" + CPPFLAGS="$CPPFLAGS -fno-strict-aliasing" +- CWARNINGS="$CWARNINGS -Wall -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter" ++ CWARNINGS="$CWARNINGS -Wall -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter" + if test "x$NOT_PEDANTIC" = "x"; then + CWARNINGS="$CWARNINGS -pedantic" + fi |