summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-01-31 10:13:57 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-01-31 10:13:57 +0000
commit93b93f0cde59553bb2348a27e861a055cfe29a19 (patch)
tree1dd395912d121e0968983644b4fdd7350982295b
parentSupport eapi3. (diff)
downloadhistorical-93b93f0cde59553bb2348a27e861a055cfe29a19.tar.gz
historical-93b93f0cde59553bb2348a27e861a055cfe29a19.tar.bz2
historical-93b93f0cde59553bb2348a27e861a055cfe29a19.zip
Do the handling of not known eapi by depend and not by die.
-rw-r--r--eclass/git.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass
index 7562f975d018..ca1ffb113e7c 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.40 2010/01/31 10:05:57 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.41 2010/01/31 10:13:57 scarabeus Exp $
# @ECLASS: git.eclass
# @MAINTAINER:
@@ -22,7 +22,7 @@ EXPORTED_FUNCTIONS="src_unpack"
case "${EAPI:-0}" in
3|2) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;;
1|0) ;;
- *) die "Unknown EAPI, Bug eclass maintainers." ;;
+ :) DEPEND="EAPI-UNSUPPORTED" ;;
esac
EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}