1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-21 20:50:31 -04:00
ports/devel/php-jq/files/patch-config.m4
Kurt Jaeger 5d53ff11b3 jq is like sed for JSON data - you can use it to slice and filter
and map and transform structured data with the same ease that sed,
awk, grep and friends let you play with text.

WWW: https://github.com/kjdev/php-ext-jq

PR:		200438
Submitted by:	Gasol Wu <gasol.wu@gmail.com>
2015-11-01 09:13:14 +00:00

17 lines
628 B
Text

--- config.m4.orig 2014-11-20 06:16:09 UTC
+++ config.m4
@@ -32,11 +32,12 @@ PHP_ARG_ENABLE(jq, whether to enable jq
if test "$PHP_JQ" != "no"; then
dnl Source jq
- PHP_ADD_INCLUDE("jq/")
+ PHP_ADD_INCLUDE("/usr/local/include")
+ PHP_ADD_LIBRARY("jq")
JQ_SOURCE="jq/locfile.c jq/bytecode.c jq/compile.c jq/execute.c jq/builtin.c jq/jv.c jq/jv_parse.c jq/jv_print.c jq/jv_dtoa.c jq/jv_unicode.c jq/jv_aux.c jq/jv_file.c jq/jv_alloc.c jq/lexer.c jq/parser.c"
dnl PHP Extension
- PHP_NEW_EXTENSION(jq, jq.c $JQ_SOURCE, $ext_shared)
+ PHP_NEW_EXTENSION(jq, jq.c, $ext_shared)
fi
dnl coverage