From: Maciej Mrozowski Date: Mon, 19 Jul 2010 16:15:14 +0000 (+0000) Subject: Use defined mechanism (die) to terminate processing when invalid EAPI detected. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=55e4cf6133edc25727e6ada444515ad6c9c009f7;p=gentoo.git Use defined mechanism (die) to terminate processing when invalid EAPI detected. --- diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index 4d407d2b394f..519a0acb914c 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.1 2010/07/17 10:42:55 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.2 2010/07/19 16:15:14 reavertm Exp $ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -84,7 +84,7 @@ case ${EAPI:-0} in 2|3|4) ;; - *) DEPEND="EAPI-TOO-OLD" ;; + *) die "EAPI=${EAPI} is not supported" ;; esac inherit autotools base diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index f627efa7b033..f6f5d01502fc 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.31 2010/05/15 15:19:04 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.32 2010/07/19 16:15:14 reavertm Exp $ inherit versionator @@ -18,7 +18,7 @@ inherit versionator # versions. case ${EAPI:-0} in 2|3) : ;; - *) DEPEND="EAPI-TOO-OLD" ;; + *) die "EAPI=${EAPI} is not supported" ;; esac # @ECLASS-VARIABLE: KDEBASE diff --git a/eclass/virtuoso.eclass b/eclass/virtuoso.eclass index 6622bf0ce7af..708e283ac406 100644 --- a/eclass/virtuoso.eclass +++ b/eclass/virtuoso.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/virtuoso.eclass,v 1.4 2010/05/12 17:59:02 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/virtuoso.eclass,v 1.5 2010/07/19 16:15:14 reavertm Exp $ # @ECLASS: virtuoso.eclass # @MAINTAINER: @@ -12,7 +12,7 @@ case ${EAPI:-0} in 2|3) : ;; - *) DEPEND='EAPI-TOO-OLD' ;; + *) die "EAPI=${EAPI} is not supported" ;; esac inherit base autotools flag-o-matic multilib