summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-08-30 09:04:07 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-08-30 09:04:07 +0000
commitf8b1d78971cf4ef03f4f04ed3822c792b5a23a07 (patch)
treeadf1d282a063d81c8661287f16a10ae6ba13e31b /eclass/php4_4-sapi.eclass
parentversion bump (diff)
downloadhistorical-f8b1d78971cf4ef03f4f04ed3822c792b5a23a07.tar.gz
historical-f8b1d78971cf4ef03f4f04ed3822c792b5a23a07.tar.bz2
historical-f8b1d78971cf4ef03f4f04ed3822c792b5a23a07.zip
Fix dba driver compilation failure and installation of missing headers.
Diffstat (limited to 'eclass/php4_4-sapi.eclass')
-rw-r--r--eclass/php4_4-sapi.eclass19
1 files changed, 13 insertions, 6 deletions
diff --git a/eclass/php4_4-sapi.eclass b/eclass/php4_4-sapi.eclass
index df3b2c418755..ead1e0108074 100644
--- a/eclass/php4_4-sapi.eclass
+++ b/eclass/php4_4-sapi.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php4_4-sapi.eclass,v 1.27 2006/08/29 22:34:50 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php4_4-sapi.eclass,v 1.28 2006/08/30 09:04:07 chtekk Exp $
#
# ########################################################################
#
@@ -412,11 +412,11 @@ php4_4-sapi_src_compile() {
fi
# DBA drivers support
- phpconfutils_extension_with "cdb" "cdb" 1
- phpconfutils_extension_with "db4" "berkdb" 1
- phpconfutils_extension_with "flatfile" "flatfile" 1
- phpconfutils_extension_with "gdbm" "gdbm" 1
- phpconfutils_extension_with "inifile" "inifile" 1
+ phpconfutils_extension_with "cdb" "cdb" 0
+ phpconfutils_extension_with "db4" "berkdb" 0
+ phpconfutils_extension_with "flatfile" "flatfile" 0
+ phpconfutils_extension_with "gdbm" "gdbm" 0
+ phpconfutils_extension_with "inifile" "inifile" 0
# DBX support
phpconfutils_extension_enable "dbx" "dbx" 1
@@ -544,6 +544,13 @@ php4_4-sapi_src_install() {
# Install PHP
make INSTALL_ROOT="${D}" install-build install-headers install-programs || die "make install failed"
+ # Install missing header files
+ if useq unicode || phpconfutils_usecheck unicode ; then
+ dodir ${destdir}/include/php/ext/mbstring
+ insinto ${destdir}/include/php/ext/mbstring
+ doins ext/mbstring/mbregex/mbregex.h
+ fi
+
# Get the extension dir, if not already defined
[[ -z "${PHPEXTDIR}" ]] && PHPEXTDIR="`"${D}/${destdir}/bin/php-config" --extension-dir`"