summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2005-07-12 19:18:25 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2005-07-12 19:18:25 +0000
commitc3e56453bfa5d1b3a16e776550145a350f67fd8a (patch)
treeec7a498d01c178c33f442a4ac4a339783e8bc116 /eclass/php-sapi.eclass
parentppc stable, #97655 (diff)
downloadgentoo-2-c3e56453bfa5d1b3a16e776550145a350f67fd8a.tar.gz
gentoo-2-c3e56453bfa5d1b3a16e776550145a350f67fd8a.tar.bz2
gentoo-2-c3e56453bfa5d1b3a16e776550145a350f67fd8a.zip
Fix bug #46768.
Diffstat (limited to 'eclass/php-sapi.eclass')
-rw-r--r--eclass/php-sapi.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/php-sapi.eclass b/eclass/php-sapi.eclass
index bd34aa4ad2cc..cbe6dd500535 100644
--- a/eclass/php-sapi.eclass
+++ b/eclass/php-sapi.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.80 2005/07/12 09:02:42 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.81 2005/07/12 19:18:25 sebastian Exp $
# Author: Robin H. Johnson <robbat2@gentoo.org>
inherit eutils flag-o-matic multilib libtool
@@ -260,9 +260,12 @@ php-sapi_src_unpack() {
sed -e 's|include/postgresql|include/postgresql include/postgresql/pgsql|g' -i configure
- # bug 47498
+ # Bug 47498
[ "${PV//4.3.6}" != "${PV}" ] && EPATCH_OPTS="-d ${S} -p1" epatch ${DISTDIR}/php-4.3.6-pcrealloc.patch
+ # Bug 46768
+ use kerberos && sed -i "s:-lgssapi_krb5:-lgssapi:" configure
+
use hardenedphp && [ -n "$HARDENEDPHP_PATCH" ] && epatch ${DISTDIR}/${HARDENEDPHP_PATCH}
}