Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/openjdk-bin/
Date: Fri, 08 Oct 2021 19:56:46
Message-Id: 1633722983.937163a02fd0674f641c8de36539c896f19bb143.gyakovlev@gentoo
1 commit: 937163a02fd0674f641c8de36539c896f19bb143
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 8 19:55:01 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 8 19:56:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937163a0
7
8 dev-java/openjdk-bin: improve postinst wording on openjdk17
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild b/dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild
16 index e21153320a4..e7f74791530 100644
17 --- a/dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild
18 +++ b/dev-java/openjdk-bin/openjdk-bin-17_p35.ebuild
19 @@ -125,12 +125,12 @@ pkg_postinst() {
20 if use gentoo-vm ; then
21 ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JDK"
22 ewarn "recognised by the system. This will almost certainly break"
23 - ewarn "many java ebuilds as they are not ready for openjdk-11"
24 + ewarn "many java ebuilds as they are not ready for openjdk-${SLOT}"
25 else
26 ewarn "The experimental gentoo-vm USE flag has not been enabled so this JDK"
27 ewarn "will not be recognised by the system. For example, simply calling"
28 ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
29 - ewarn "fully supports Java 11. This JDK must therefore be invoked using its"
30 + ewarn "fully supports Java ${SLOT}. This JDK must therefore be invoked using its"
31 ewarn "absolute location under ${EPREFIX}/opt/${P}."
32 fi
33 }