diff options
author | Aron Griffis <agriffis@gentoo.org> | 2005-10-18 20:22:25 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2005-10-18 20:22:25 +0000 |
commit | 924360744b63bc47157cd1a51863e4bba01fdb61 (patch) | |
tree | c61b3d8577718393a883c78adc6e398d76a4f357 /dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild | |
parent | add back browserplugin, marked as deprecated (diff) | |
download | gentoo-2-924360744b63bc47157cd1a51863e4bba01fdb61.tar.gz gentoo-2-924360744b63bc47157cd1a51863e4bba01fdb61.tar.bz2 gentoo-2-924360744b63bc47157cd1a51863e4bba01fdb61.zip |
Warn about deprecated browserplugin useflag
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild')
-rw-r--r-- | dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild index e1f7fa75fa37..df19c0b4e87e 100644 --- a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild +++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild,v 1.23 2005/10/18 19:21:57 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild,v 1.24 2005/10/18 20:20:27 agriffis Exp $ inherit java @@ -14,7 +14,7 @@ SRC_URI="x86? ( mirror://blackdown.org/JDK-${PV}/i386/FCS/j2sdk-${PV}-FCS-linux- LICENSE="sun-bcla-java-vm" SLOT="1.3" KEYWORDS="x86 ~ppc sparc -*" -IUSE="doc nsplugin mozilla" +IUSE="doc browserplugin nsplugin mozilla" DEPEND="virtual/libc >=dev-java/java-config-0.2.5 @@ -49,7 +49,9 @@ src_install() { dodoc COPYRIGHT LICENSE README INSTALL dohtml README.html - if use nsplugin || use mozilla; then + if use nsplugin || # global useflag for netscape-compat plugins + use browserplugin || # deprecated but honor for now + use mozilla; then # wrong but used to honor it if [ "${ARCH}" == "x86" ] ; then PLATFORM="i386" elif [ "${ARCH}" == "ppc" ] ; then @@ -77,15 +79,15 @@ pkg_postinst() { # Set as default system VM if none exists java_pkg_postinst - if use nsplugin || use mozilla; then + if use nsplugin || use browserplugin || use mozilla; then einfo "The java mozilla plugin supplied by this package does not" einfo "work with newer version mozilla/firefox." einfo "You need >=${PN}-1.4 for them." fi - - if ! use nsplugin && use mozilla; then - ewarn - ewarn "The 'mozilla' useflag to enable the java browser plugin for applets" - ewarn "has been renamed to 'nsplugin' please update your USE" + if ! use nsplugin && ( use browserplugin || use mozilla ); then + echo + ewarn "The 'browserplugin' and 'mozilla' useflags will not be honored in" + ewarn "future jdk/jre ebuilds for plugin installation. Please" + ewarn "update your USE to include 'nsplugin'." fi } |