summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-08-28 05:52:17 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-08-28 05:52:17 +0000
commitab5447e96ea04f10a5b01c0c912f373e6eee01f0 (patch)
tree5473576a87a3ac1940fb7b1621f64698f151a12d /eclass/php.eclass
parentinitial commit. ebuild based on one provided by Jeff Saucier via bug 27447 (diff)
downloadgentoo-2-ab5447e96ea04f10a5b01c0c912f373e6eee01f0.tar.gz
gentoo-2-ab5447e96ea04f10a5b01c0c912f373e6eee01f0.tar.bz2
gentoo-2-ab5447e96ea04f10a5b01c0c912f373e6eee01f0.zip
fix bugs #27126 and #27414.
Diffstat (limited to 'eclass/php.eclass')
-rw-r--r--eclass/php.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass
index 697a3629c5ed..a98cff43f4eb 100644
--- a/eclass/php.eclass
+++ b/eclass/php.eclass
@@ -1,7 +1,7 @@
# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Robin H. Johnson <robbat2@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.76 2003/08/17 21:51:01 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.77 2003/08/28 05:52:17 robbat2 Exp $
# This EBUILD is totally masked presently. Use it at your own risk. I know it
# is severely broken, but I needed to get a copy into CVS to pass around and
@@ -153,8 +153,8 @@ PHP_INSTALLTARGETS="${PHP_INSTALLTARGETS} install-modules install-pear install-b
PHPMAJORVER=${MY_PV//\.*}
# These are quick fixups for older ebuilds that didn't have PHPSAPI defined.
-[ -z "${PHPSAPI}" ] && [ "${PN}" -eq "php" ] && PHPSAPI="cli"
-if [ -z "${PHPSAPI}" ] && [ "${PN}" -eq "mod_php" ]; then
+[ -z "${PHPSAPI}" ] && [ "${PN}" = "php" ] && PHPSAPI="cli"
+if [ -z "${PHPSAPI}" ] && [ "${PN}" = "mod_php" ]; then
use apache2 && PHPSAPI="apache2" || PHPSAPI="apache1"
fi
@@ -312,6 +312,7 @@ php_src_compile() {
myconf="${myconf} `use_with spell pspell` `use_with ssl openssl`"
myconf="${myconf} `use_with curl` `use_with imap` `use_with ldap`"
myconf="${myconf} `use_with xml2 dom` `use_with xml2 dom-xslt`"
+ myconf="${myconf} `use_with xml2 dom-exslt`"
myconf="${myconf} `use_with kerberos` `use_with pam`"
myconf="${myconf} `use_enable memlimit memory-limit`"
myconf="${myconf} `use_enable ipv6`"