diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-03-19 15:06:02 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-03-19 15:06:02 +0000 |
commit | 7d3dba47e2a0590b7d359607d5b48c55820d149f (patch) | |
tree | 285dc8908dac3f54e689e5e142f7057e2bf8df0e /eclass | |
parent | Fixup die case for eapi in qt4-r2 and xorg-2 eclasses. (diff) | |
download | historical-7d3dba47e2a0590b7d359607d5b48c55820d149f.tar.gz historical-7d3dba47e2a0590b7d359607d5b48c55820d149f.tar.bz2 historical-7d3dba47e2a0590b7d359607d5b48c55820d149f.zip |
Fixup die case for eapi instead of invalid depend.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass index a238b822478b..4e8bd3de7f0b 100644 --- a/eclass/git.eclass +++ b/eclass/git.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.51 2011/02/02 19:26:53 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.52 2011/03/19 15:06:02 scarabeus Exp $ # @ECLASS: git.eclass # @MAINTAINER: @@ -25,7 +25,7 @@ EXPORTED_FUNCTIONS="src_unpack" case "${EAPI:-0}" in 4|3|2) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;; 1|0) ;; - *) DEPEND="EAPI-UNSUPPORTED" ;; + *) die "EAPI=${EAPI} is not supported" ;; esac EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} |