summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-02-02 19:09:33 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-02-02 19:09:33 +0000
commit1f93b3967860fe04b02c09bd890c462b6697065e (patch)
tree2dd447075acacf66d03e6f924e2a67486198d75d /eclass/depend.php.eclass
parentStable on sparc (diff)
downloadgentoo-2-1f93b3967860fe04b02c09bd890c462b6697065e.tar.gz
gentoo-2-1f93b3967860fe04b02c09bd890c462b6697065e.tar.bz2
gentoo-2-1f93b3967860fe04b02c09bd890c462b6697065e.zip
Fix Paludis installs.
Diffstat (limited to 'eclass/depend.php.eclass')
-rw-r--r--eclass/depend.php.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/depend.php.eclass b/eclass/depend.php.eclass
index dc3862d5b525..cff0b1aaa58a 100644
--- a/eclass/depend.php.eclass
+++ b/eclass/depend.php.eclass
@@ -1,6 +1,6 @@
# 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 $
#
# ========================================================================
#
@@ -50,6 +50,7 @@ uses_php4() {
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}"
@@ -87,6 +88,7 @@ uses_php5() {
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}"