summaryrefslogtreecommitdiff
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/autotools-utils.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/autotools-utils.eclass')
-rw-r--r--eclass/autotools-utils.eclass4
1 files changed, 2 insertions, 2 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