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 | 32a98166f1c719d2b2eee8d746b4e01be83be846 (patch) | |
tree | 8906aa0d6ac759a8bee205d29d338b246b5a2ea7 /eclass | |
parent | add die statement to dodir and dodoc (diff) | |
download | gentoo-2-32a98166f1c719d2b2eee8d746b4e01be83be846.tar.gz gentoo-2-32a98166f1c719d2b2eee8d746b4e01be83be846.tar.bz2 gentoo-2-32a98166f1c719d2b2eee8d746b4e01be83be846.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 |