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
commite0a86aac5065d726cd26e76c3c57cecea7dc4c61 (patch)
tree8c5de8eebda8178ffd28423981ae340893eba325 /eclass/php-sapi.eclass
parentppc stable, #97655 (diff)
downloadhistorical-e0a86aac5065d726cd26e76c3c57cecea7dc4c61.tar.gz
historical-e0a86aac5065d726cd26e76c3c57cecea7dc4c61.tar.bz2
historical-e0a86aac5065d726cd26e76c3c57cecea7dc4c61.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}
}