/[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.147 Revision 1.148
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.147 2011/10/29 14:05:48 caster Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.148 2011/12/13 14:42:39 sera Exp $
10 10
11# ----------------------------------------------------------------------------- 11# -----------------------------------------------------------------------------
12# @eclass-begin 12# @eclass-begin
13# @eclass-shortdesc Java Utility eclass 13# @eclass-shortdesc Java Utility eclass
14# @eclass-maintainer java@gentoo.org 14# @eclass-maintainer java@gentoo.org
2135# call it during each of the phases of the merge process. 2135# call it during each of the phases of the merge process.
2136# 2136#
2137# ----------------------------------------------------------------------------- 2137# -----------------------------------------------------------------------------
2138java-pkg_init() { 2138java-pkg_init() {
2139 debug-print-function ${FUNCNAME} $* 2139 debug-print-function ${FUNCNAME} $*
2140
2141 # Don't set up build environment if installing from binary. #206024 #258423
2142 [[ "${MERGE_TYPE}" == "binary" ]] && return
2143 # Also try Portage's nonstandard EMERGE_FROM for old EAPIs, if it doesn't
2144 # work nothing is lost.
2145 has ${EAPI:-0} 0 1 2 3 && [[ "${EMERGE_FROM}" == "binary" ]] && return
2146
2140 unset JAVAC 2147 unset JAVAC
2141 unset JAVA_HOME 2148 unset JAVA_HOME
2142 2149
2143 java-config --help >/dev/null || { 2150 java-config --help >/dev/null || {
2144 eerror "" 2151 eerror ""

Legend:
Removed from v.1.147  
changed lines
  Added in v.1.148

  ViewVC Help
Powered by ViewVC 1.1.20