mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 01:01:49 -04:00
There are many greater changes including: - json is now part of core - xmlrpc is removed - More than 150 backward incompatible changes Have a look at: https://github.com/php/php-src/blob/php-8.0.0RC2/UPGRADING Reviewed by: ale, mfechner, Pascal Christen Sponsored by: PHP Update Service Differential Revision: https://reviews.freebsd.org/D26848
21 lines
747 B
Text
21 lines
747 B
Text
--- 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)
|
|
|