Files
macports-ports/lang/php/files/patch-php74-scripts-php-config.in.diff
Chris Minett 630fbd12af php: Add php74 version 7.4.1
There have been many changes in the build process in this version.

See: https://www.php.net/manual/en/migration74.other-changes.php

The names of many configure flags were changed and pkg-config is now
used to find many dependencies.

PEAR is now off by default; no need to use --without-pear anymore.

The hash extension is now always on; no need to use --enable-hash.

The mbstring extension now uses MacPorts oniguruma6 instead of a bundled
copy.

The wddx extension was moved from core to PECL but there are no releases
there yet. It may be resurrected as a separate php-wddx port later.

Co-authored-by: Ryan Schmidt <ryandesign@macports.org>
2020-01-17 16:22:40 -06:00

12 lines
599 B
Diff

--- a/scripts/php-config.in.orig 2011-05-15 01:09:21.000000000 -0500
+++ b/scripts/php-config.in 2011-10-04 05:45:52.000000000 -0500
@@ -7,7 +7,7 @@
version="@PHP_VERSION@"
vernum="@PHP_VERSION_ID@"
include_dir="@includedir@/php"
-includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
+includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib -I@prefix@/include"
ldflags="@PHP_LDFLAGS@"
libs="@EXTRA_LIBS@"
extension_dir='@EXTENSION_DIR@'