diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-01-31 10:05:57 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-01-31 10:05:57 +0000 |
commit | 656e8b43ef2f59545513834c88504d73b7014f9b (patch) | |
tree | f0c7f001e9ba7c377eb0b27ddd27f1026e2c9493 /eclass | |
parent | Add missing dependencies, bug 302738, thanks to Andreas Fink <finkandreas@web... (diff) | |
download | gentoo-2-656e8b43ef2f59545513834c88504d73b7014f9b.tar.gz gentoo-2-656e8b43ef2f59545513834c88504d73b7014f9b.tar.bz2 gentoo-2-656e8b43ef2f59545513834c88504d73b7014f9b.zip |
Support eapi3.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass index b58954b303ad..7562f975d018 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.39 2010/01/25 17:15:18 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.40 2010/01/31 10:05:57 scarabeus Exp $ # @ECLASS: git.eclass # @MAINTAINER: @@ -20,8 +20,8 @@ EGIT="git.eclass" EXPORTED_FUNCTIONS="src_unpack" case "${EAPI:-0}" in - 2) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;; - 0|1) ;; + 3|2) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;; + 1|0) ;; *) die "Unknown EAPI, Bug eclass maintainers." ;; esac EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} |