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-jre/blackdown-jre-1.4.2.01-r1.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-jre/blackdown-jre-1.4.2.01-r1.ebuild')
-rw-r--r-- | dev-java/blackdown-jre/blackdown-jre-1.4.2.01-r1.ebuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/dev-java/blackdown-jre/blackdown-jre-1.4.2.01-r1.ebuild b/dev-java/blackdown-jre/blackdown-jre-1.4.2.01-r1.ebuild index 48e76741d4a5..f3d7fde6ffaa 100644 --- a/dev-java/blackdown-jre/blackdown-jre-1.4.2.01-r1.ebuild +++ b/dev-java/blackdown-jre/blackdown-jre-1.4.2.01-r1.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-jre/blackdown-jre-1.4.2.01-r1.ebuild,v 1.8 2005/10/18 19:22:41 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/blackdown-jre-1.4.2.01-r1.ebuild,v 1.9 2005/10/18 20:20:51 agriffis Exp $ inherit java versionator @@ -20,7 +20,7 @@ HOMEPAGE="http://www.blackdown.org" SLOT="1.4.2" LICENSE="sun-bcla-java-vm" KEYWORDS="-* amd64 x86" -IUSE="nsplugin mozilla" +IUSE="browserplugin nsplugin mozilla" DEPEND="virtual/libc >=dev-java/java-config-1.2.11 >=sys-apps/sed-4" @@ -94,7 +94,9 @@ src_install() { dohtml README.html # Install mozilla plugin - 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 case ${ARCH} in x86) platform="i386" ;; ppc) platform="ppc" ;; @@ -121,9 +123,10 @@ src_install() { pkg_postinst() { java_pkg_postinst - 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 } |