# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.1 2005/09/04 10:54:53 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.2 2005/09/25 15:21:22 kloeri Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Stuart Herbert <stuart@gentoo.org>
# ---end ebuild configurable settings
DEPEND="${DEPEND}
- >=sys-devel/m4-1.4
- >=sys-devel/libtool-1.4.3"
+ >=sys-devel/m4-1.4.3
+ >=sys-devel/libtool-1.5.18
+ >=sys-devel/automake-1.9.6
+ sys-devel/automake-wrapper
+ >=sys-devel/autoconf-2.59
+ sys-devel/autoconf-wrapper"
php-ext-base-r1_buildinilist() {
# work out the list of .ini files to edit/add to
php-ext-base-r1_addextension() {
if [ "${PHP_EXT_ZENDEXT}" = "yes" ] ; then
- if built_with_use =${PHP_PKG} apache2 threads ; then
+ if has_zts ; then
ext_type="zend_extension_ts"
ext_file="${EXT_DIR}/$1"
else
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r1.eclass,v 1.1 2005/09/04 10:54:53 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r1.eclass,v 1.2 2005/09/25 15:21:22 kloeri Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Stuart Herbert <stuart@gentoo.org>
# ---end ebuild configurable settings
DEPEND="${DEPEND}
- >=sys-devel/m4-1.4
- >=sys-devel/libtool-1.4.3"
+ >=sys-devel/m4-1.4.3
+ >=sys-devel/libtool-1.5.18
+ >=sys-devel/automake-1.9.6
+ sys-devel/automake-wrapper
+ >=sys-devel/autoconf-2.59
+ sys-devel/autoconf-wrapper"
php-ext-source-r1_src_compile() {
# pull in the PHP settings
my_conf="${my_conf} --prefix=${PHPPREFIX} --with-php-config=${PHPCONFIG}"
addpredict /usr/share/snmp/mibs/.index
#phpize creates configure out of config.m4
- export WANT_AUTOMAKE=1.6
+ export WANT_AUTOMAKE=1.9 WANT_AUTOCONF=2.5
${PHPIZE}
./configure ${my_conf} || die "Unable to configure code to compile"
emake || die "Unable to make code"
# Copyright 1999-2005 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.3 2005/09/18 12:57:22 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php4_4-sapi.eclass,v 1.4 2005/09/25 15:21:22 kloeri Exp $
#
# ########################################################################
#
!dev-php/php
!dev-php/php-cgi
!dev-php/mod_php
+ >=sys-devel/m4-1.4.3
+ >=sys-devel/libtool-1.5.18
+ >=sys-devel/automake-1.9.6
+ sys-devel/automake-wrapper
+ >=sys-devel/autoconf-2.59
+ sys-devel/autoconf-wrapper
berkdb? ( =sys-libs/db-4* )
bzip2? ( app-arch/bzip2 )
cdb? ( dev-db/cdb )
confutils_use_depend_all "solid" "odbc"
# PEAR support
- confutils_use_depend_all "pear" "cli" "pcre" "xml"
+ confutils_use_depend_all "pear" "cli" "pcre" "xml" "zlib"
# Readline and libedit do the same thing; you can't have both
confutils_use_conflict "readline" "libedit"
# Copyright 1999-2005 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.3 2005/09/18 12:57:22 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php5_0-sapi.eclass,v 1.4 2005/09/25 15:21:22 kloeri Exp $
#
# ########################################################################
#
!dev-php/php
!dev-php/php-cgi
!dev-php/mod_php
+ >=sys-devel/m4-1.4.3
+ >=sys-devel/libtool-1.5.18
+ >=sys-devel/automake-1.9.6
+ sys-devel/automake-wrapper
+ >=sys-devel/autoconf-2.59
+ sys-devel/autoconf-wrapper
berkdb? ( =sys-libs/db-4* )
bzip2? ( app-arch/bzip2 )
cdb? ( dev-db/cdb )
confutils_use_depend_all "solid" "odbc"
# PEAR support
- confutils_use_depend_all "pear" "cli" "pcre" "xml2"
+ confutils_use_depend_all "pear" "cli" "pcre" "xml2" "zlib"
# QDBM doesn't play nicely with GDBM
confutils_use_conflict "qdbm" "gdbm"
# Copyright 1999-2005 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.5 2005/09/18 12:57:22 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php5_1-sapi.eclass,v 1.6 2005/09/25 15:21:22 kloeri Exp $
#
# ########################################################################
#
!dev-php/php
!dev-php/php-cgi
!dev-php/mod_php
+ >=sys-devel/m4-1.4.3
+ >=sys-devel/libtool-1.5.18
+ >=sys-devel/automake-1.9.6
+ sys-devel/automake-wrapper
+ >=sys-devel/autoconf-2.59
+ sys-devel/autoconf-wrapper
berkdb? ( =sys-libs/db-4* )
bzip2? ( app-arch/bzip2 )
cdb? ( dev-db/cdb )
confutils_use_conflict "pdo" "pdo-external"
# PEAR support
- confutils_use_depend_all "pear" "cli" "pcre" "xml2"
+ confutils_use_depend_all "pear" "cli" "pcre" "xml2" "zlib"
# QDBM doesn't play nicely with GDBM
confutils_use_conflict "qdbm" "gdbm"