commit:     3eab3cbbf6c3ce609bf2cb286af237b227924e6c
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 08:31:49 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 08:36:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eab3cbb

dev-java/openjdk-bin: remove postinst warnings from :8

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild | 15 ---------------
 dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild    | 15 ---------------
 2 files changed, 30 deletions(-)

diff --git a/dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild 
b/dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild
index e856f20fbf4..2ff06a07bf1 100644
--- a/dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild
+++ b/dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild
@@ -91,18 +91,3 @@ src_install() {
        java-vm_revdep-mask
        java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
 }
-
-pkg_postinst() {
-       java-vm-2_pkg_postinst
-
-       if use gentoo-vm ; then
-               ewarn "WARNING! You have enabled the gentoo-vm USE flag, making 
this JDK"
-               ewarn "recognised by the system. This will almost certainly 
break things."
-       else
-               ewarn "The experimental gentoo-vm USE flag has not been enabled 
so this JDK"
-               ewarn "will not be recognised by the system. For example, 
simply calling"
-               ewarn "\"java\" will launch a different JVM. This is necessary 
until Gentoo"
-               ewarn "fully supports OpenJDK 8. This JDK must therefore be 
invoked using its"
-               ewarn "absolute location under ${EPREFIX}/opt/${P}."
-       fi
-}

diff --git a/dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild 
b/dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild
index 9af9550dd34..e1c51cc17b6 100644
--- a/dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild
+++ b/dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild
@@ -91,18 +91,3 @@ src_install() {
        java-vm_revdep-mask
        java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
 }
-
-pkg_postinst() {
-       java-vm-2_pkg_postinst
-
-       if use gentoo-vm ; then
-               ewarn "WARNING! You have enabled the gentoo-vm USE flag, making 
this JDK"
-               ewarn "recognised by the system. This will almost certainly 
break things."
-       else
-               ewarn "The experimental gentoo-vm USE flag has not been enabled 
so this JDK"
-               ewarn "will not be recognised by the system. For example, 
simply calling"
-               ewarn "\"java\" will launch a different JVM. This is necessary 
until Gentoo"
-               ewarn "fully supports OpenJDK 8. This JDK must therefore be 
invoked using its"
-               ewarn "absolute location under ${EPREFIX}/opt/${P}."
-       fi
-}

Reply via email to