summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-02-17 02:20:35 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-02-17 02:20:35 +0000
commiteddaaa17a2c10c98d7c43cfd2911b3ec830b3095 (patch)
treeed863a48b8afc3fe87c78ded7f8b30b280623c3f /eclass/eutils.eclass
parentinitial commit (diff)
downloadhistorical-eddaaa17a2c10c98d7c43cfd2911b3ec830b3095.tar.gz
historical-eddaaa17a2c10c98d7c43cfd2911b3ec830b3095.tar.bz2
historical-eddaaa17a2c10c98d7c43cfd2911b3ec830b3095.zip
Added fallback implementations for ebeep and epause that display QA Notice when used in EAPI-3
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass12
1 files changed, 11 insertions, 1 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 941fae17255b..9b7d5534b560 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.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/eutils.eclass,v 1.330 2010/02/15 02:10:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.331 2010/02/17 02:20:35 reavertm Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -51,6 +51,16 @@ ebeep() {
fi
}
+else
+
+ ebeep() {
+ eqawarn "QA Notice: ebeep is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org"
+ }
+
+ epause() {
+ eqawarn "QA Notice: epause is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org"
+ }
+
fi
# @FUNCTION: ecvs_clean