summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-07-19 16:15:14 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-07-19 16:15:14 +0000
commit764ce7b25f9002273f79fe400c902ba9f843c7bc (patch)
tree20d6f7328584bce1633ac6b57f6fa355a4fb4e1a /eclass
parentRemove libass; fix ass description for use flags (diff)
downloadgentoo-2-764ce7b25f9002273f79fe400c902ba9f843c7bc.tar.gz
gentoo-2-764ce7b25f9002273f79fe400c902ba9f843c7bc.tar.bz2
gentoo-2-764ce7b25f9002273f79fe400c902ba9f843c7bc.zip
Use defined mechanism (die) to terminate processing when invalid EAPI detected.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools-utils.eclass4
-rw-r--r--eclass/kde4-functions.eclass4
-rw-r--r--eclass/virtuoso.eclass4
3 files changed, 6 insertions, 6 deletions
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