diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2006-08-30 09:04:07 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2006-08-30 09:04:07 +0000 |
commit | f8b1d78971cf4ef03f4f04ed3822c792b5a23a07 (patch) | |
tree | adf1d282a063d81c8661287f16a10ae6ba13e31b /eclass | |
parent | version bump (diff) | |
download | historical-f8b1d78971cf4ef03f4f04ed3822c792b5a23a07.tar.gz historical-f8b1d78971cf4ef03f4f04ed3822c792b5a23a07.tar.bz2 historical-f8b1d78971cf4ef03f4f04ed3822c792b5a23a07.zip |
Fix dba driver compilation failure and installation of missing headers.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php4_4-sapi.eclass | 19 | ||||
-rw-r--r-- | eclass/php5_0-sapi.eclass | 31 | ||||
-rw-r--r-- | eclass/php5_1-sapi.eclass | 31 |
3 files changed, 57 insertions, 24 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`" diff --git a/eclass/php5_0-sapi.eclass b/eclass/php5_0-sapi.eclass index 430fbd261d85..c16478393851 100644 --- a/eclass/php5_0-sapi.eclass +++ b/eclass/php5_0-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/php5_0-sapi.eclass,v 1.27 2006/08/29 22:34:50 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5_0-sapi.eclass,v 1.28 2006/08/30 09:04:07 chtekk Exp $ # # ######################################################################## # @@ -417,12 +417,12 @@ php5_0-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 "qdbm" "qdbm" 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 + phpconfutils_extension_with "qdbm" "qdbm" 0 # Support for the GD graphics library if useq gd-external || phpconfutils_usecheck gd-external ; then @@ -544,10 +544,23 @@ php5_0-sapi_src_install() { # Install missing header files if useq unicode || phpconfutils_usecheck unicode ; then + dodir ${destdir}/include/php/ext/mbstring + insinto ${destdir}/include/php/ext/mbstring + for x in `ls "${S}/ext/mbstring/"*.h` ; do + file=`basename ${x}` + doins ext/mbstring/${file} + done + dodir ${destdir}/include/php/ext/mbstring/oniguruma + insinto ${destdir}/include/php/ext/mbstring/oniguruma + for x in `ls "${S}/ext/mbstring/oniguruma/"*.h` ; do + file=`basename ${x}` + doins ext/mbstring/oniguruma/${file} + done dodir ${destdir}/include/php/ext/mbstring/libmbfl/mbfl insinto ${destdir}/include/php/ext/mbstring/libmbfl/mbfl - for x in mbfilter.h mbfl_consts.h mbfl_encoding.h mbfl_language.h mbfl_string.h mbfl_convert.h mbfl_ident.h mbfl_memory_device.h mbfl_allocators.h mbfl_defs.h mbfl_filter_output.h mbfilter_pass.h mbfilter_wchar.h mbfilter_8bit.h ; do - doins ext/mbstring/libmbfl/mbfl/${x} + for x in `ls "${S}/ext/mbstring/libmbfl/mbfl/"*.h` ; do + file=`basename ${x}` + doins ext/mbstring/libmbfl/mbfl/${file} done fi diff --git a/eclass/php5_1-sapi.eclass b/eclass/php5_1-sapi.eclass index 785d04b842f7..8d93026e5e52 100644 --- a/eclass/php5_1-sapi.eclass +++ b/eclass/php5_1-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/php5_1-sapi.eclass,v 1.32 2006/08/29 22:34:50 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5_1-sapi.eclass,v 1.33 2006/08/30 09:04:07 chtekk Exp $ # # ######################################################################## # @@ -422,12 +422,12 @@ php5_1-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 "qdbm" "qdbm" 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 + phpconfutils_extension_with "qdbm" "qdbm" 0 # Support for the GD graphics library if useq gd-external || phpconfutils_usecheck gd-external ; then @@ -588,10 +588,23 @@ php5_1-sapi_src_install() { # Install missing header files if useq unicode || phpconfutils_usecheck unicode ; then + dodir ${destdir}/include/php/ext/mbstring + insinto ${destdir}/include/php/ext/mbstring + for x in `ls "${S}/ext/mbstring/"*.h` ; do + file=`basename ${x}` + doins ext/mbstring/${file} + done + dodir ${destdir}/include/php/ext/mbstring/oniguruma + insinto ${destdir}/include/php/ext/mbstring/oniguruma + for x in `ls "${S}/ext/mbstring/oniguruma/"*.h` ; do + file=`basename ${x}` + doins ext/mbstring/oniguruma/${file} + done dodir ${destdir}/include/php/ext/mbstring/libmbfl/mbfl insinto ${destdir}/include/php/ext/mbstring/libmbfl/mbfl - for x in mbfilter.h mbfl_consts.h mbfl_encoding.h mbfl_language.h mbfl_string.h mbfl_convert.h mbfl_ident.h mbfl_memory_device.h mbfl_allocators.h mbfl_defs.h mbfl_filter_output.h mbfilter_pass.h mbfilter_wchar.h mbfilter_8bit.h ; do - doins ext/mbstring/libmbfl/mbfl/${x} + for x in `ls "${S}/ext/mbstring/libmbfl/mbfl/"*.h` ; do + file=`basename ${x}` + doins ext/mbstring/libmbfl/mbfl/${file} done fi |