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

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

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

Revision 1.23 Revision 1.26
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.23 2008/08/29 19:10:19 caster Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.26 2009/02/11 16:13:38 betelgeuse Exp $
4 4
5# ----------------------------------------------------------------------------- 5# -----------------------------------------------------------------------------
6# @eclass-begin 6# @eclass-begin
7# @eclass-shortdesc Java Virtual Machine eclass 7# @eclass-shortdesc Java Virtual Machine eclass
8# @eclass-maintainer java@gentoo.org 8# @eclass-maintainer java@gentoo.org
12# 12#
13# ----------------------------------------------------------------------------- 13# -----------------------------------------------------------------------------
14 14
15inherit eutils fdo-mime 15inherit eutils fdo-mime
16 16
17DEPEND="
18 =dev-java/java-config-2* 17DEPEND="=dev-java/java-config-2*"
19 >=sys-apps/portage-2.1" 18hasq "${EAPI}" 0 1 && DEPEND="${DEPEND} >=sys-apps/portage-2.1"
19
20RDEPEND=" 20RDEPEND="
21 =dev-java/java-config-2* 21 =dev-java/java-config-2*"
22
23# bug #176784
24if [[ ${JAVA_SUPPORTS_GENERATION_1} == 'true' && ${JAVA_VM_NO_GENERATION1} != 'true' ]]; then
22 =dev-java/java-config-1.3*" 25 DEPEND="${DEPEND} =dev-java/java-config-1.3*"
26 RDEPEND="${RDEPEND} =dev-java/java-config-1.3*"
27fi
23 28
24export WANT_JAVA_CONFIG=2 29export WANT_JAVA_CONFIG=2
25 30
26JAVA_VM_CONFIG_DIR="/usr/share/java-config-2/vm" 31JAVA_VM_CONFIG_DIR="/usr/share/java-config-2/vm"
27JAVA_VM_DIR="/usr/lib/jvm" 32JAVA_VM_DIR="/usr/lib/jvm"
216java-vm_revdep-mask() { 221java-vm_revdep-mask() {
217 local VMROOT="${1-/opt/${P}}" 222 local VMROOT="${1-/opt/${P}}"
218 223
219 dodir /etc/revdep-rebuild/ 224 dodir /etc/revdep-rebuild/
220 echo "SEARCH_DIRS_MASK=\"${VMROOT}\""> "${D}/etc/revdep-rebuild/61-${VMHANDLE}" 225 echo "SEARCH_DIRS_MASK=\"${VMROOT}\""> "${D}/etc/revdep-rebuild/61-${VMHANDLE}"
221 226
222 elog "A revdep-rebuild control file was installed to prevent reinstalls due to" 227 elog "A revdep-rebuild control file was installed to prevent reinstalls due to"
223 elog "missing dependencies (see bug #177925 for more info). Note that some parts" 228 elog "missing dependencies (see bug #177925 for more info). Note that some parts"
224 elog "of the JVM may require dependencies that are pulled only through respective" 229 elog "of the JVM may require dependencies that are pulled only through respective"
225 elog "USE flags (typically X, alsa, odbc) and some Java code may fail without them." 230 elog "USE flags (typically X, alsa, odbc) and some Java code may fail without them."
226} 231}

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20