summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-12-18 19:25:59 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-12-18 19:25:59 +0000
commit6cff6cd54cabb6193aa936fbb09383bcdfc69dbe (patch)
tree3ec4d2ec9663cc2f12ea0116fb40dcc5e0f0d7d8 /eclass
parentConvinced upstream to backport some more UPnP fixes (diff)
downloadhistorical-6cff6cd54cabb6193aa936fbb09383bcdfc69dbe.tar.gz
historical-6cff6cd54cabb6193aa936fbb09383bcdfc69dbe.tar.bz2
historical-6cff6cd54cabb6193aa936fbb09383bcdfc69dbe.zip
Use JAVA_PKG_STRICT instead of checking FEATURES and use ewarn instead of echo as STRICT is meant for developers any way.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-pkg.eclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/eclass/java-pkg.eclass b/eclass/java-pkg.eclass
index 3338b9240067..e2d5dcd540f6 100644
--- a/eclass/java-pkg.eclass
+++ b/eclass/java-pkg.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.48 2006/12/03 15:27:48 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.49 2006/12/18 19:25:59 betelgeuse Exp $
inherit multilib
@@ -489,7 +489,5 @@ java-pkg_dosrc() {
java-pkg_announce-qa-violation() {
- if hasq java-strict ${FEATURES}; then
- echo "Java QA Notice: $@" >&2
- fi
+ [[ "${JAVA_PKG_STRICT}" ]] && ewarn "Java QA Notice: $@"
}