From 2ea2019d3744e08809d0d9914b5d1fc2be9173f2 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 13 Dec 2004 20:54:16 +0000 Subject: [PATCH] bug #72699. --- eclass/php-pear.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/php-pear.eclass b/eclass/php-pear.eclass index 97f30370ad77..9f2f175aca13 100644 --- a/eclass/php-pear.eclass +++ b/eclass/php-pear.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear.eclass,v 1.5 2004/06/25 00:39:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear.eclass,v 1.6 2004/12/13 20:54:16 robbat2 Exp $ # # Author: Tal Peer # @@ -18,7 +18,9 @@ EXPORT_FUNCTIONS src_install # portage (generally shouldn't be the case). [ -z "$PHP_PEAR_PKG_NAME" ] && PHP_PEAR_PKG_NAME=${PN/PEAR-/} -DEPEND="$DEPEND virtual/php" +# We must depend on the virtual as well as the base package as we need it to do +# install tasks (it provides the pear binary). +DEPEND="$DEPEND virtual/php dev-php/php" RDEPEND="$RDEPEND $DEPEND" fix_PEAR_PV() { -- 2.26.2