commit:     b58797425a09bbe302f756d4134a19cb9f21e461
Author:     Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 20:59:17 2015 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 20:20:04 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5879742

perl-app.eclass: die in EAPI=6, let's get rid of this silly stub

 eclass/perl-app.eclass | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/eclass/perl-app.eclass b/eclass/perl-app.eclass
index eb109f9..2ad9bdc 100644
--- a/eclass/perl-app.eclass
+++ b/eclass/perl-app.eclass
@@ -9,6 +9,17 @@
 : ${GENTOO_DEPEND_ON_PERL_SUBSLOT:="no"}
 inherit perl-module
 
+case "${EAPI:-0}" in
+       5)
+               ;;
+       6)
+               die "EAPI=${EAPI} is not supported by perl-app.eclass. Please 
use perl-module.eclass instead."
+               ;;
+       *)
+               die "EAPI=${EAPI} is not supported by perl-app.eclass"
+               ;;
+esac
+
 # @FUNCTION: perl-app_src_prep
 # @USAGE: perl-app_src_prep
 # @DESCRIPTION:

Reply via email to