# ChangeLog for eclass directory
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.25 2011/11/24 00:57:00 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.26 2011/11/24 20:05:01 sera Exp $
+
+ 24 Nov 2011; Ralph Sennhauser <sera@gentoo.org> java-vm-2.eclass:
+ set_java_env(): Substitute @SLOT@ in vm env files
+ java-vm_check-nsplugin(): Fix handling of IUSE defaults
24 Nov 2011; Maciej Mrozowski <reavertm@gentoo.org> virtuoso.eclass:
Dependency on <gawk-4 moved to virtuoso-server-6.1.{2,3}.
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.39 2011/11/21 10:15:46 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.40 2011/11/24 20:05:01 sera Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
has ${EAPI:-0} 0 1 2 && ! use prefix && EPREFIX=
# Install a default nsplugin if we don't already have one
- if has nsplugin ${IUSE} && use nsplugin; then
+ if in_iuse nsplugin && use nsplugin; then
if [[ ! -f "${EPREFIX}"/usr/${libdir}/nsbrowser/plugins/javaplugin.so ]]; then
einfo "No system nsplugin currently set."
java-vm_set-nsplugin
-e "s/@PN@/${PN}/g" \
-e "s/@PV@/${PV}/g" \
-e "s/@PF@/${PF}/g" \
+ -e "s/@SLOT@/${SLOT}/g" \
-e "s/@PLATFORM@/${platform}/g" \
-e "s/@LIBDIR@/$(get_libdir)/g" \
-e "/^LDPATH=.*lib\\/\\\"/s|\"\\(.*\\)\"|\"\\1${platform}/:\\1${platform}/server/\"|" \