From 3df38a3832e500b850d7cf48df0a66e83b70bcbb Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sun, 26 Dec 2021 11:17:33 -0500 Subject: dev-java/openj9-openjdk*: remove garbage gentoo-vm message --- .../openj9-openjdk-bin-11.0.13.8.0.29.0.ebuild | 16 ---------------- .../openj9-openjdk-bin-17.0.1.12.0.29.1.ebuild | 16 ---------------- .../openj9-openjdk-jre-bin-11.0.13.8.0.29.0.ebuild | 15 --------------- .../openj9-openjdk-jre-bin-17.0.1.12.0.29.1.ebuild | 15 --------------- dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild | 16 ---------------- dev-java/openj9-openjdk/openj9-openjdk-17.0.29.1.ebuild | 16 ---------------- 6 files changed, 94 deletions(-) diff --git a/dev-java/openj9-openjdk-bin/openj9-openjdk-bin-11.0.13.8.0.29.0.ebuild b/dev-java/openj9-openjdk-bin/openj9-openjdk-bin-11.0.13.8.0.29.0.ebuild index f9a41b7..32b852c 100644 --- a/dev-java/openj9-openjdk-bin/openj9-openjdk-bin-11.0.13.8.0.29.0.ebuild +++ b/dev-java/openj9-openjdk-bin/openj9-openjdk-bin-11.0.13.8.0.29.0.ebuild @@ -99,19 +99,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" - ewarn "many java ebuilds as they are not ready for openjdk-11" - 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 Java 11. This JDK must therefore be invoked using its" - ewarn "absolute location under ${EPREFIX}/opt/${P}." - fi -} diff --git a/dev-java/openj9-openjdk-bin/openj9-openjdk-bin-17.0.1.12.0.29.1.ebuild b/dev-java/openj9-openjdk-bin/openj9-openjdk-bin-17.0.1.12.0.29.1.ebuild index f9a41b7..32b852c 100644 --- a/dev-java/openj9-openjdk-bin/openj9-openjdk-bin-17.0.1.12.0.29.1.ebuild +++ b/dev-java/openj9-openjdk-bin/openj9-openjdk-bin-17.0.1.12.0.29.1.ebuild @@ -99,19 +99,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" - ewarn "many java ebuilds as they are not ready for openjdk-11" - 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 Java 11. This JDK must therefore be invoked using its" - ewarn "absolute location under ${EPREFIX}/opt/${P}." - fi -} diff --git a/dev-java/openj9-openjdk-jre-bin/openj9-openjdk-jre-bin-11.0.13.8.0.29.0.ebuild b/dev-java/openj9-openjdk-jre-bin/openj9-openjdk-jre-bin-11.0.13.8.0.29.0.ebuild index 110e015..52c9fd3 100644 --- a/dev-java/openj9-openjdk-jre-bin/openj9-openjdk-jre-bin-11.0.13.8.0.29.0.ebuild +++ b/dev-java/openj9-openjdk-jre-bin/openj9-openjdk-jre-bin-11.0.13.8.0.29.0.ebuild @@ -79,18 +79,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 JRE" - 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 JRE" - 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 Java 11. This JRE must therefore be invoked using its" - ewarn "absolute location under ${EPREFIX}/opt/${P}." - fi -} diff --git a/dev-java/openj9-openjdk-jre-bin/openj9-openjdk-jre-bin-17.0.1.12.0.29.1.ebuild b/dev-java/openj9-openjdk-jre-bin/openj9-openjdk-jre-bin-17.0.1.12.0.29.1.ebuild index 110e015..52c9fd3 100644 --- a/dev-java/openj9-openjdk-jre-bin/openj9-openjdk-jre-bin-17.0.1.12.0.29.1.ebuild +++ b/dev-java/openj9-openjdk-jre-bin/openj9-openjdk-jre-bin-17.0.1.12.0.29.1.ebuild @@ -79,18 +79,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 JRE" - 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 JRE" - 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 Java 11. This JRE must therefore be invoked using its" - ewarn "absolute location under ${EPREFIX}/opt/${P}." - fi -} diff --git a/dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild b/dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild index 28c2a46..07ab41d 100644 --- a/dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild +++ b/dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild @@ -324,19 +324,3 @@ src_install() { dosym ../../../usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}" fi } - -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" - ewarn "many java ebuilds as they are not ready for openjdk-11" - 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 Java ${SLOT}. This JDK must therefore be invoked using its" - ewarn "absolute location under ${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}." - fi -} diff --git a/dev-java/openj9-openjdk/openj9-openjdk-17.0.29.1.ebuild b/dev-java/openj9-openjdk/openj9-openjdk-17.0.29.1.ebuild index 81ccfb1..93bdcf3 100644 --- a/dev-java/openj9-openjdk/openj9-openjdk-17.0.29.1.ebuild +++ b/dev-java/openj9-openjdk/openj9-openjdk-17.0.29.1.ebuild @@ -325,19 +325,3 @@ src_install() { dosym ../../../usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}" fi } - -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" - ewarn "many java ebuilds as they are not ready for openjdk-${SLOT}" - 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 Java ${SLOT}. This JDK must therefore be invoked using its" - ewarn "absolute location under ${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}." - fi -} -- cgit v1.2.3-54-g00ecf