SOURCES: php-pear.patch - do not disable pear if cli is not enabled

glen glen at pld-linux.org
Thu Nov 20 18:18:57 CET 2008


Author: glen                         Date: Thu Nov 20 17:18:57 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- do not disable pear if cli is not enabled

---- Files affected:
SOURCES:
   php-pear.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/php-pear.patch
diff -u SOURCES/php-pear.patch:1.1 SOURCES/php-pear.patch:1.2
--- SOURCES/php-pear.patch:1.1	Fri Nov  3 00:48:04 2006
+++ SOURCES/php-pear.patch	Thu Nov 20 18:18:52 2008
@@ -1,6 +1,18 @@
---- php-5.2.0/configure.in~	2006-11-03 01:38:33.246428054 +0200
-+++ php-5.2.0/configure.in	2006-11-03 01:46:52.697656608 +0200
-@@ -955,14 +955,14 @@
+--- php-5.2.0/configure.in	2006-11-03 01:46:52.697656608 +0200
++++ php-5.2.6/configure.in	2008-11-20 19:11:27.231805230 +0200
+@@ -934,11 +934,6 @@
+   with_pear=no
+ fi
+ 
+-# If CLI is disabled -> disable PEAR
+-if test "$PHP_CLI" = "no"; then
+-  with_pear=no
+-fi
+-
+ PHP_ARG_WITH(pear, [whether to install PEAR],
+ [  --with-pear=DIR         Install PEAR in DIR [PREFIX/lib/php]
+   --without-pear          Do not install PEAR], DEFAULT, yes)
+@@ -955,14 +950,14 @@
    dnl
    dnl PEAR dependancies
    dnl
@@ -23,3 +35,14 @@
  
  dnl
  dnl  if test "$PHP_XMLRPC" = "no"; then
+--- php-5.2.6/sapi/cli/config.m4~	2008-11-16 18:35:31.000000000 +0200
++++ php-5.2.6/sapi/cli/config.m4	2008-11-20 19:04:12.585061299 +0200
+@@ -4,7 +4,7 @@
+ 
+ PHP_ARG_ENABLE(cli,,
+ [  --disable-cli           Disable building CLI version of PHP
+-                          (this forces --without-pear)], yes, no)
++                          ], yes, no)
+ 
+ AC_MSG_CHECKING(for CLI build)
+ if test "$PHP_CLI" != "no"; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/php-pear.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list