/[gentoo-x86]/eclass/java-utils-2.eclass
Gentoo

Diff of /eclass/java-utils-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.64 Revision 1.65
4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> 4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
5# Copyright (c) 2004-2005, Gentoo Foundation 5# Copyright (c) 2004-2005, Gentoo Foundation
6# 6#
7# Licensed under the GNU General Public License, v2 7# Licensed under the GNU General Public License, v2
8# 8#
9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.64 2007/03/05 22:56:25 betelgeuse Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.65 2007/03/06 12:14:49 betelgeuse Exp $
10 10
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
14# @eclass-shortdesc Java Utility eclass 14# @eclass-shortdesc Java Utility eclass
1800 unset JAVAC 1800 unset JAVAC
1801 unset JAVA_HOME 1801 unset JAVA_HOME
1802 1802
1803 # People do all kinds of weird things. 1803 # People do all kinds of weird things.
1804 # http://forums.gentoo.org/viewtopic-p-3943166.html 1804 # http://forums.gentoo.org/viewtopic-p-3943166.html
1805 local silense="${SILENCE_JAVA_OPTIONS_WARNING}" 1805 local silence="${SILENCE_JAVA_OPTIONS_WARNING}"
1806 local accept="${I_WANT_GLOBAL_JAVA_OPTIONS}" 1806 local accept="${I_WANT_GLOBAL_JAVA_OPTIONS}"
1807 if [[ -n ${_JAVA_OPTIONS} && -z ${accept} && -z ${silense} ]]; then 1807 if [[ -n ${_JAVA_OPTIONS} && -z ${accept} && -z ${silence} ]]; then
1808 ewarn "_JAVA_OPTIONS changes what java -version outputs at least for" 1808 ewarn "_JAVA_OPTIONS changes what java -version outputs at least for"
1809 ewarn "sun-jdk vms and and as such break configure scripts that" 1809 ewarn "sun-jdk vms and and as such break configure scripts that"
1810 ewarn "use it (for example app-office/openoffice) so we filter it out." 1810 ewarn "use it (for example app-office/openoffice) so we filter it out."
1811 ewarn "Use SILENCE_JAVA_OPTIONS_WARNING=true in the environment (use" 1811 ewarn "Use SILENCE_JAVA_OPTIONS_WARNING=true in the environment (use"
1812 ewarn "make.conf for example) to silence this warning or" 1812 ewarn "make.conf for example) to silence this warning or"

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

  ViewVC Help
Powered by ViewVC 1.1.20