diff options
author | Davide Pesavento <pesa@gentoo.org> | 2012-10-04 03:52:35 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2012-10-04 03:52:35 +0000 |
commit | 4d0df9e7882488896b974677a045c96a1eab1600 (patch) | |
tree | 4d63f885fb24c7567976b5fa269be23d6acf3252 /eclass | |
parent | Require newer spidermonkey #437038 by BT. (diff) | |
download | gentoo-2-4d0df9e7882488896b974677a045c96a1eab1600.tar.gz gentoo-2-4d0df9e7882488896b974677a045c96a1eab1600.tar.bz2 gentoo-2-4d0df9e7882488896b974677a045c96a1eab1600.zip |
Rephrase "unsupported EAPI" die message.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 6 | ||||
-rw-r--r-- | eclass/qt4-r2.eclass | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index 2fd5cb149cc8..366fc06bdac6 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.136 2012/09/27 16:35:41 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.137 2012/10/04 03:52:35 pesa Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -10,8 +10,8 @@ # This eclass contains various functions that are used when building Qt4. case ${EAPI} in - 2|3|4|5) : ;; - *) die "qt4-build.eclass requires EAPI 2, 3 or 4." ;; + 2|3|4|5) : ;; + *) die "qt4-build.eclass: unsupported EAPI=${EAPI:-0}" ;; esac inherit eutils flag-o-matic multilib toolchain-funcs versionator diff --git a/eclass/qt4-r2.eclass b/eclass/qt4-r2.eclass index 0e36a82112ad..fa7d42de480c 100644 --- a/eclass/qt4-r2.eclass +++ b/eclass/qt4-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.22 2012/09/27 16:35:41 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.23 2012/10/04 03:52:35 pesa Exp $ # @ECLASS: qt4-r2.eclass # @MAINTAINER: @@ -11,8 +11,8 @@ # dealing with packages using Qt4 libraries. Requires EAPI=2 or later. case ${EAPI} in - 2|3|4|5) : ;; - *) die "EAPI=${EAPI} is not supported by ${ECLASS} eclass." ;; + 2|3|4|5) : ;; + *) die "qt4-r2.eclass: unsupported EAPI=${EAPI:-0}" ;; esac inherit base eutils multilib toolchain-funcs |