diff options
author | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2017-01-24 11:54:20 +0000 |
---|---|---|
committer | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2017-01-24 11:54:20 +0000 |
commit | db021968e3411b659e079e540742896abe4193f1 (patch) | |
tree | ad7f282ff1e254cc6c54bfc24d23efee0af4d12e /sysutils/php71-fileinfo/files/patch-config.m4 | |
parent | print/texlive-texmf: unbreak on aarch64 on real hardware (diff) |
Add PHP 7.1
Thanks to: mat, pi, ale, martin@waschbuesch.de and franco@opnsense.org
Notes
Notes:
svn path=/head/; revision=432324
Diffstat (limited to 'sysutils/php71-fileinfo/files/patch-config.m4')
-rw-r--r-- | sysutils/php71-fileinfo/files/patch-config.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/php71-fileinfo/files/patch-config.m4 b/sysutils/php71-fileinfo/files/patch-config.m4 new file mode 100644 index 000000000000..1348023ccf64 --- /dev/null +++ b/sysutils/php71-fileinfo/files/patch-config.m4 @@ -0,0 +1,21 @@ +--- config.m4.orig 2010-09-07 15:45:30.000000000 +0200 ++++ config.m4 2010-09-07 15:46:50.000000000 +0200 +@@ -4,6 +4,9 @@ + PHP_ARG_ENABLE(fileinfo, for fileinfo support, + [ --disable-fileinfo Disable fileinfo support], yes) + ++PHP_ARG_WITH(pcre-dir, pcre install prefix, ++[ --with-pcre-dir FILEINFO: pcre install prefix], no, no) ++ + if test "$PHP_FILEINFO" != "no"; then + + libmagic_sources=" \ +@@ -13,6 +16,8 @@ + libmagic/is_tar.c libmagic/magic.c libmagic/print.c \ + libmagic/readcdf.c libmagic/readelf.c libmagic/softmagic.c" + ++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) ++ + PHP_NEW_EXTENSION(fileinfo, fileinfo.c $libmagic_sources, $ext_shared,,-I@ext_srcdir@/libmagic) + PHP_ADD_BUILD_DIR($ext_builddir/libmagic) + |