diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-03-19 15:02:47 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-03-19 15:02:47 +0000 |
commit | 0f03520f8217f6565fe1d20f60bb493ab5be344d (patch) | |
tree | 1fb897c5a4bf93ca278b94b8d5a005a40deed817 /eclass | |
parent | Touchup postinst logic to be easier to read. (diff) | |
download | historical-0f03520f8217f6565fe1d20f60bb493ab5be344d.tar.gz historical-0f03520f8217f6565fe1d20f60bb493ab5be344d.tar.bz2 historical-0f03520f8217f6565fe1d20f60bb493ab5be344d.zip |
Fixup die case for eapi in qt4-r2 and xorg-2 eclasses.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt4-r2.eclass | 4 | ||||
-rw-r--r-- | eclass/xorg-2.eclass | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/eclass/qt4-r2.eclass b/eclass/qt4-r2.eclass index 37c46e9b2d37..0d0ba1059e3b 100644 --- a/eclass/qt4-r2.eclass +++ b/eclass/qt4-r2.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/qt4-r2.eclass,v 1.9 2010/12/30 23:46:39 tampakrap Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.10 2011/03/19 15:02:47 scarabeus Exp $ # @ECLASS: qt4-r2.eclass # @MAINTAINER: @@ -15,7 +15,7 @@ case ${EAPI} in 2|3) : ;; - *) DEPEND="EAPI-INCOMPATIBLE" ;; + *) die "EAPI=${EAPI} is not supported" ;; esac inherit base eutils multilib toolchain-funcs diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index 4f375631aaa6..3209172c67d3 100644 --- a/eclass/xorg-2.eclass +++ b/eclass/xorg-2.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/xorg-2.eclass,v 1.38 2011/03/19 10:30:23 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.39 2011/03/19 15:02:47 scarabeus Exp $ # # @ECLASS: xorg-2.eclass # @MAINTAINER: @@ -43,7 +43,7 @@ inherit autotools-utils eutils libtool multilib toolchain-funcs flag-o-matic aut EXPORTED_FUNCTIONS="src_unpack src_compile src_install pkg_postinst pkg_postrm" case "${EAPI:-0}" in 3|4) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare src_configure" ;; - *) die "EAPI-UNSUPPORTED" ;; + *) die "EAPI=${EAPI} is not supported" ;; esac # exports must be ALWAYS after inherit |