Use defined mechanism (die) to terminate processing when invalid EAPI detected.
authorMaciej Mrozowski <reavertm@gentoo.org>
Mon, 19 Jul 2010 16:15:14 +0000 (16:15 +0000)
committerMaciej Mrozowski <reavertm@gentoo.org>
Mon, 19 Jul 2010 16:15:14 +0000 (16:15 +0000)
eclass/autotools-utils.eclass
eclass/kde4-functions.eclass
eclass/virtuoso.eclass

index 4d407d2b394fee7d99670eef47a4c232d12ee5c7..519a0acb914cdbbb7bf46b95102a54d111838a5f 100644 (file)
@@ -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
index f627efa7b03393525f8dae9a42a9a3d6047b9bce..f6f5d01502fc36cd37d386a10fc6a0b0c3aab58a 100644 (file)
@@ -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
index 6622bf0ce7af93aa303c979b26f1e1976d406111..708e283ac4064740aba45eabaeda7c1d12b9d0de 100644 (file)
@@ -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