From 6cff6cd54cabb6193aa936fbb09383bcdfc69dbe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Mon, 18 Dec 2006 19:25:59 +0000 Subject: [PATCH] Use JAVA_PKG_STRICT instead of checking FEATURES and use ewarn instead of echo as STRICT is meant for developers any way. --- eclass/java-pkg.eclass | 6 ++---- 1 file 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: $@" } -- 2.26.2