commit:     937163a02fd0674f641c8de36539c896f19bb143
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  8 19:55:01 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Oct  8 19:56:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937163a0

dev-java/openjdk-bin: improve postinst wording on openjdk17

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild 
b/dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild
index e21153320a4..e7f74791530 100644
--- a/dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild
+++ b/dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild
@@ -125,12 +125,12 @@ 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"
+               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 11. This JDK must therefore be 
invoked using its"
+               ewarn "fully supports Java ${SLOT}. This JDK must therefore be 
invoked using its"
                ewarn "absolute location under ${EPREFIX}/opt/${P}."
        fi
 }

Reply via email to