diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2010-12-07 06:20:40 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2010-12-07 06:20:40 +0000 |
commit | 6490b7cb1cc8886a140580ac520a4f730ff1c8c6 (patch) | |
tree | 2741700592b6bafea27137407533d55d61509f21 /eclass | |
parent | add die statement to dodir and dodoc (diff) | |
download | historical-6490b7cb1cc8886a140580ac520a4f730ff1c8c6.tar.gz historical-6490b7cb1cc8886a140580ac520a4f730ff1c8c6.tar.bz2 historical-6490b7cb1cc8886a140580ac520a4f730ff1c8c6.zip |
list supported EAPI explicitely
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnome2.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index e87363d1fb14..e0da7e4fcc58 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.89 2010/12/07 06:19:54 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.90 2010/12/07 06:20:40 eva Exp $ # # gnome2.eclass @@ -18,9 +18,10 @@ case "${EAPI:-0}" in 0|1) EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm ;; - *) + 2|3) EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm ;; + *) die "EAPI=${EAPI} is not supported" ;; esac # Extra configure opts passed to econf |