]> git.pld-linux.org Git - packages/php.git/blame - php-pear.patch
Rel 11; fix openssl 3 build
[packages/php.git] / php-pear.patch
CommitLineData
59609f89
JR
1diff -urNp -x '*.orig' php-7.0.33.org/configure.in php-7.0.33/configure.in
2--- php-7.0.33.org/configure.in 2021-08-23 23:36:10.981626855 +0200
3+++ php-7.0.33/configure.in 2021-08-23 23:36:11.958315612 +0200
4@@ -1091,11 +1091,6 @@ if test -z "$with_pear" && test "$enable
c0240cb1 5 with_pear=no
6 fi
7
8-# If CLI is disabled -> disable PEAR
9-if test "$PHP_CLI" = "no"; then
10- with_pear=no
11-fi
12-
13 PHP_ARG_WITH(pear, [whether to install PEAR],
59609f89 14 [ --with-pear=DIR Install PEAR in DIR @<:@PREFIX/lib/php@:>@
c0240cb1 15 --without-pear Do not install PEAR], DEFAULT, yes)
59609f89 16@@ -1105,11 +1100,11 @@ if test "$PHP_PEAR" != "no"; then
c0240cb1 17 dnl
18 dnl PEAR dependancies
19 dnl
20- if test "$PHP_XML" = "no"; then
21- pear_error_msg="$pear_error_msg
22- PEAR requires XML to be enabled. Add --enable-xml to the configure line. (or --without-pear)"
23- fi
24-
25+dnl if test "$PHP_XML" = "no"; then
26+dnl pear_error_msg="$pear_error_msg
27+dnl PEAR requires XML to be enabled. Add --enable-xml to the configure line. (or --without-pear)"
28+dnl fi
29+dnl
30 dnl
31 dnl if test "$PHP_XMLRPC" = "no"; then
32 dnl pear_error_msg="$pear_error_msg
59609f89
JR
33diff -urNp -x '*.orig' php-7.0.33.org/sapi/cli/config.m4 php-7.0.33/sapi/cli/config.m4
34--- php-7.0.33.org/sapi/cli/config.m4 2021-08-23 23:36:10.981626855 +0200
35+++ php-7.0.33/sapi/cli/config.m4 2021-08-23 23:36:11.961649021 +0200
36@@ -4,7 +4,7 @@ dnl
c0240cb1 37
38 PHP_ARG_ENABLE(cli,,
39 [ --disable-cli Disable building CLI version of PHP
40- (this forces --without-pear)], yes, no)
41+ ], yes, no)
42
59609f89
JR
43 AC_CHECK_FUNCS(setproctitle)
44
This page took 0.03814 seconds and 4 git commands to generate.