From: Steve Dibb Date: Tue, 16 Feb 2010 04:14:13 +0000 (+0000) Subject: Fix dependencies for new pear setup where PEAR-PEAR doesn't pull in all X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d3e2ac62f4f0036ddf122f97623c357242c9705d;p=gentoo.git Fix dependencies for new pear setup where PEAR-PEAR doesn't pull in all deps, and dev-php/pear is new virtual --- diff --git a/eclass/php-pear-r1.eclass b/eclass/php-pear-r1.eclass index 5760b4dc7ab3..42a3df375114 100644 --- a/eclass/php-pear-r1.eclass +++ b/eclass/php-pear-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.22 2009/01/12 23:09:02 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.23 2010/02/16 04:14:13 beandog Exp $ # # Author: Tal Peer # Author: Luca Longinotti @@ -19,7 +19,9 @@ inherit multilib EXPORT_FUNCTIONS src_install -DEPEND="dev-lang/php >=dev-php/PEAR-PEAR-1.6.1" +DEPEND="dev-lang/php + || ( ( >=dev-php/PEAR-PEAR-1.6.1 =dev-php/pear-1.8.1 )" RDEPEND="${DEPEND}" # @ECLASS-VARIABLE: PHP_PEAR_PKG_NAME