summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-03-28 22:01:51 +0000
committerStuart Herbert <stuart@gentoo.org>2004-03-28 22:01:51 +0000
commit81a2f012d7a910812293ab3d0bfb1490c09e2177 (patch)
tree1683c178b4243a3d23ef46d6c9830910fcda983b /eclass
parentFix bug 33159 by making virtual/xft dependant on !moznoxft. Add dependency on... (diff)
downloadhistorical-81a2f012d7a910812293ab3d0bfb1490c09e2177.tar.gz
historical-81a2f012d7a910812293ab3d0bfb1490c09e2177.tar.bz2
historical-81a2f012d7a910812293ab3d0bfb1490c09e2177.zip
Fix for bug #39020
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php-sapi.eclass20
1 files changed, 17 insertions, 3 deletions
diff --git a/eclass/php-sapi.eclass b/eclass/php-sapi.eclass
index 9016c6e83ee3..7cf565e2091d 100644
--- a/eclass/php-sapi.eclass
+++ b/eclass/php-sapi.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.12 2004/03/28 21:02:06 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.13 2004/03/28 22:01:51 stuart Exp $
# Author: Robin H. Johnson <robbat2@gentoo.org>
inherit eutils flag-o-matic
@@ -93,7 +93,7 @@ RDEPEND="${RDEPEND}
virtual/mta
sys-apps/file
yaz? ( dev-libs/yaz )
- doc? ( app-doc/php-docs-200403 )"
+ doc? ( app-doc/php-docs )"
# USE structure doesn't support ~x86
@@ -172,7 +172,7 @@ if [ -z "${PHPSAPI}" ]; then
eerror "${msg}"
die "${msg}"
fi
-# build the destination and php.ini details
+# build the destination and php.ini detail
PHPINIDIRECTORY="/etc/php/${PHPSAPI}-php${PHPMAJORVER}"
PHPINIFILENAME="php.ini"
@@ -533,6 +533,20 @@ php-sapi_src_install() {
# A lot of ini file funkiness
insinto ${PHPINIDIRECTORY}
newins ${phpinisrc} ${PHPINIFILENAME}
+
+ # 2004/03/28 - stuart@gentoo.org
+ #
+ # This is where we install header files that PHP itself doesn't install,
+ # but which PECL packages depend on
+
+ for x in ext/mbstring/libmbfl/mbfl/mbfilter.h ; do
+ my_headerdir="/usr/include/php/`dirname $x`"
+ echo "$my_headerdir"
+ if [ ! -d "${D}$my_headerdir" ]; then
+ mkdir -p ${D}$my_headerdir
+ fi
+ cp $x ${D}/usr/include/php/$x
+ done
}
php-sapi_pkg_preinst() {