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

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

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

Revision 1.30 Revision 1.31
3# Copyright (c) 2004-2005, Thomas Matthijs <axxo@gentoo.org> 3# Copyright (c) 2004-2005, Thomas Matthijs <axxo@gentoo.org>
4# Copyright (c) 2004-2005, Gentoo Foundation 4# Copyright (c) 2004-2005, Gentoo Foundation
5# 5#
6# Licensed under the GNU General Public License, v2 6# Licensed under the GNU General Public License, v2
7# 7#
8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.30 2008/10/11 21:07:13 caster Exp $ 8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.31 2008/12/22 22:09:38 serkan Exp $
9 9
10inherit java-utils-2 10inherit java-utils-2
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
105 105
106 106
107java-pkg-2_pkg_preinst() { 107java-pkg-2_pkg_preinst() {
108 if is-java-strict; then 108 if is-java-strict; then
109 if has_version dev-java/java-dep-check; then 109 if has_version dev-java/java-dep-check; then
110 [[ -e "${JAVA_PKG_ENV}" ]] || return
110 local output=$(GENTOO_VM= java-dep-check --image "${D}" "${JAVA_PKG_ENV}") 111 local output=$(GENTOO_VM= java-dep-check --image "${D}" "${JAVA_PKG_ENV}")
111 if [[ ${output} ]]; then 112 if [[ ${output} ]]; then
112 ewarn "Possibly unneeded dependencies found in package.env:" 113 ewarn "Possibly unneeded dependencies found in package.env:"
113 for dep in ${output}; do 114 for dep in ${output}; do
114 ewarn "\t${dep}" 115 ewarn "\t${dep}"

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20