Added fallback implementations for ebeep and epause that display QA Notice when used...
authorMaciej Mrozowski <reavertm@gentoo.org>
Wed, 17 Feb 2010 02:20:35 +0000 (02:20 +0000)
committerMaciej Mrozowski <reavertm@gentoo.org>
Wed, 17 Feb 2010 02:20:35 +0000 (02:20 +0000)
eclass/eutils.eclass

index 941fae17255b4c6e8cf1dee875aea1f4d0e85b56..9b7d5534b560fc25bd0a5fd86a09f4bb517f5eb9 100644 (file)
@@ -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