]> git.pld-linux.org Git - packages/php.git/commitdiff
fix PEAR_INSTALLDIR
authorArtur Frysiak <artur@frysiak.net>
Mon, 9 Jul 2001 11:03:20 +0000 (11:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pearinstall.patch -> 1.1

php-pearinstall.patch [new file with mode: 0644]

diff --git a/php-pearinstall.patch b/php-pearinstall.patch
new file mode 100644 (file)
index 0000000..471bee9
--- /dev/null
@@ -0,0 +1,24 @@
+--- php-4.0.6/configure.in.pear        Mon Jul  9 12:11:47 2001
++++ php-4.0.6/configure.in     Mon Jul  9 12:19:09 2001
+@@ -501,13 +501,14 @@
+ if test "x$PHP_PEAR" != "xno"; then
+   PEAR_DIR=pear
+-fi
+-
+-if test "x$PHP_PEAR" = "xDEFAULT"; then
+-  case $PHP_LAYOUT in
+-    GNU) PEAR_INSTALLDIR="$datadir/pear";;
+-    *)   PEAR_INSTALLDIR="$libdir/php";;
+-  esac
++  if test "x$PHP_PEAR" = "xDEFAULT" -o "x$PHP_PEAR" = "xyes" ; then
++    case $PHP_LAYOUT in
++      GNU) PEAR_INSTALLDIR="$datadir/pear";;
++      *)   PEAR_INSTALLDIR="$libdir/php";;
++    esac
++  else
++    PEAR_INSTALLDIR="$PHP_PEAR"
++  fi
+ fi
+ test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
This page took 0.051581 seconds and 4 git commands to generate.