From 0c45589e729938642222dbe6b8fef186eb3d8498 Mon Sep 17 00:00:00 2001 From: Stuart Shelton Date: Thu, 4 Feb 2016 22:41:34 +0000 Subject: Update eclass/php-pear-r1.eclass --- eclass/php-pear-r1.eclass | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'eclass') diff --git a/eclass/php-pear-r1.eclass b/eclass/php-pear-r1.eclass index 099db6de..8f768ac1 100644 --- a/eclass/php-pear-r1.eclass +++ b/eclass/php-pear-r1.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id: 85eee287746b1ade83e8a63e210708e845396c3e $ +# $Id: 237cf835b83c44b019c811b6958a83f19e036288 $ # @ECLASS: php-pear-r1.eclass # @MAINTAINER: @@ -19,14 +19,17 @@ inherit multilib EXPORT_FUNCTIONS pkg_setup src_install -# Silence repoman warnings case "${EAPI:-0}" in - 5) - PHP_DEPEND="dev-lang/php:*" - ;; - *) - PHP_DEPEND="dev-lang/php" - ;; + 0|1|2|3|4) + PHP_DEPEND="dev-lang/php" + ;; + 5|6) + # Repoman will complain about the missing slot in newer EAPIs. + PHP_DEPEND="dev-lang/php:*" + ;; + *) + die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" + ;; esac DEPEND="${PHP_DEPEND} -- cgit v1.2.3-65-gdbad