commit:     cd62473a2ddbc133373f24b7a442a5b8e8bc6068
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 16 17:47:54 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Oct 16 17:48:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd62473a

dev-java/openjdk: small QA fixed for 17

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

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

diff --git a/dev-java/openjdk/openjdk-17_p35.ebuild 
b/dev-java/openjdk/openjdk-17_p35.ebuild
index 6160f6ab521..4a3c37acc0f 100644
--- a/dev-java/openjdk/openjdk-17_p35.ebuild
+++ b/dev-java/openjdk/openjdk-17_p35.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools check-reqs eapi7-ver flag-o-matic java-pkg-2 java-vm-2 
multiprocessing pax-utils toolchain-funcs
+inherit check-reqs eapi7-ver flag-o-matic java-pkg-2 java-vm-2 multiprocessing 
pax-utils toolchain-funcs
 
 MY_PV="${PV//_p/+}"
 SLOT="$(ver_cut 1)"
@@ -263,7 +263,7 @@ 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"

Reply via email to