diff options
author | Brian Evans <grknight@gentoo.org> | 2015-04-14 18:32:51 +0000 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2015-04-14 18:32:51 +0000 |
commit | 8bf75243047ebcdb74a04c87d1af849be0bf84a1 (patch) | |
tree | d3d6b48bd6127a39da65b6ebceff01b788d19185 /eclass/php-lib-r1.eclass | |
parent | Use einfo instead of elog, drop old (diff) | |
download | historical-8bf75243047ebcdb74a04c87d1af849be0bf84a1.tar.gz historical-8bf75243047ebcdb74a04c87d1af849be0bf84a1.tar.bz2 historical-8bf75243047ebcdb74a04c87d1af849be0bf84a1.zip |
Specify :* as slot by default to silence repoman warnings
Diffstat (limited to 'eclass/php-lib-r1.eclass')
-rw-r--r-- | eclass/php-lib-r1.eclass | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/eclass/php-lib-r1.eclass b/eclass/php-lib-r1.eclass index 9961eeb5b6af..635a1d02485d 100644 --- a/eclass/php-lib-r1.eclass +++ b/eclass/php-lib-r1.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-lib-r1.eclass,v 1.11 2012/02/12 21:48:58 mabi Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-lib-r1.eclass,v 1.12 2015/04/14 18:32:51 grknight Exp $ # @ECLASS: php-lib-r1.eclass # @MAINTAINER: @@ -16,8 +16,16 @@ inherit depend.php EXPORT_FUNCTIONS src_install +# Silence repoman warnings +case "${EAPI:-0}" in + 0|1|2|3|4) + DEPEND="dev-lang/php" + ;; + *) + DEPEND="dev-lang/php:*" + ;; +esac -DEPEND="dev-lang/php" RDEPEND="${DEPEND}" # @ECLASS-VARIABLE: PHP_LIB_NAME |