summaryrefslogtreecommitdiff
path: root/lang/php84/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php84/files/patch-configure.ac')
-rw-r--r--lang/php84/files/patch-configure.ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/php84/files/patch-configure.ac b/lang/php84/files/patch-configure.ac
new file mode 100644
index 000000000000..468589491a49
--- /dev/null
+++ b/lang/php84/files/patch-configure.ac
@@ -0,0 +1,27 @@
+--- configure.ac.orig 2024-07-02 13:43:13 UTC
++++ configure.ac
+@@ -56,6 +56,7 @@ AH_BOTTOM([
+
+ #include <string.h>
+
++#include <ext/php_config.h>
+ #endif /* PHP_CONFIG_H */
+ ])
+
+@@ -265,7 +266,6 @@ AS_VAR_APPEND([CPPFLAGS], [" -D_GNU_SOURCE"])
+ dnl require extensions to C and POSIX.
+ AS_VAR_APPEND([CPPFLAGS], [" -D_GNU_SOURCE"])
+
+-PTHREADS_CHECK
+ PHP_HELP_SEPARATOR([SAPI modules:])
+ PHP_SHLIB_SUFFIX_NAMES
+ PHP_BUILD_PROGRAM
+@@ -1425,7 +1425,7 @@ EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CON
+ EXPANDED_DATADIR=$datadir
+ EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
+ EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
+-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR
++INCLUDE_PATH=.:${prefix}/share/pear
+
+ exec_prefix=$old_exec_prefix
+ libdir=$old_libdir