ports/security/razorback-api/files/patch-common_m4__api_deps.m4
Adam Weinberger 16786c6c15 Fix build, broken in the json-c 0.12 upgrade. Given the nature of the errors there
are likely other ports that will fail in similar ways. (i.e. libjson.so->libjson-c.so,
and json/json.h -> json-c/json.h).

While here, use OPTIONS helpers to avoid unnecessary bsd.port.options.mk inclusion.
2014-08-20 14:30:58 +00:00

11 lines
363 B
Text

--- ./common_m4/api_deps.m4.orig 2014-08-20 10:21:22.000000000 -0400
+++ ./common_m4/api_deps.m4 2014-08-20 10:21:36.000000000 -0400
@@ -55,7 +55,7 @@
# [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"