diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-06-11 15:59:05 -0500 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-06-11 16:02:49 -0500 |
commit | 665b149d2692ff6926a092568304091995e07d39 (patch) | |
tree | 43733e6164a8fac2635af7542a26e80c2524c28c /sysutils/php82-fileinfo/files/patch-config.m4 | |
parent | net-mgmt/check_ssl_cert: update to 2.31.0 (diff) |
*/*php82*: Welcome php 8.2.0 Alpha 1
Please DO NOT use this version in production, it is an early test
version.
port-committers@ please DO NOT mark your ports IGNORE_WITH_PHP=82. A
build is running to check all php ports with php82 and will be
committed in batch tomorrow.
Sponsored by: Bounce Experts
Diffstat (limited to 'sysutils/php82-fileinfo/files/patch-config.m4')
-rw-r--r-- | sysutils/php82-fileinfo/files/patch-config.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/php82-fileinfo/files/patch-config.m4 b/sysutils/php82-fileinfo/files/patch-config.m4 new file mode 100644 index 000000000000..1348023ccf64 --- /dev/null +++ b/sysutils/php82-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) + |