# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.16 2006/08/07 07:10:16 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.17 2007/02/02 19:09:33 chtekk Exp $
#
# ========================================================================
#
PHPCGI="/usr/${libdir}/php4/bin/php-cgi"
PHP_PKG="`best_version =dev-lang/php-4*`"
PHPPREFIX="/usr/${libdir}/php4"
+ EXT_DIR="`${PHPCONFIG} --extension-dir 2>/dev/null`"
einfo
einfo "Using ${PHP_PKG}"
PHPCGI="/usr/${libdir}/php5/bin/php-cgi"
PHP_PKG="`best_version =dev-lang/php-5*`"
PHPPREFIX="/usr/${libdir}/php5"
+ EXT_DIR="`${PHPCONFIG} --extension-dir 2>/dev/null`"
einfo
einfo "Using ${PHP_PKG}"
# 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.4 2005/11/20 01:35:05 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.5 2007/02/02 19:09:33 chtekk Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Stuart Herbert <stuart@gentoo.org>
# (defaults to "yes" and shouldn't be changed in most cases)
[ -z "${PHP_EXT_INI}" ] && PHP_EXT_INI="yes"
-# find out where to install extensions
-EXT_DIR="`${PHPCONFIG} --extension-dir 2>/dev/null`"
-
# ---end ebuild configurable settings
DEPEND="${DEPEND}