commit:     dde48f3a9e1ae744fb3185e60e75061a783e9771
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 16:44:26 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 23:50:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde48f3a

dev-java/openjdk: use dosym8

In EAPI 7, dosym -r is not supposed to work, but Portage does not check
this properly.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-java/openjdk/openjdk-17.0.3_p7.ebuild | 2 +-
 dev-java/openjdk/openjdk-8.332_p09.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/openjdk/openjdk-17.0.3_p7.ebuild 
b/dev-java/openjdk/openjdk-17.0.3_p7.ebuild
index d7196756904f..aa78810445e0 100644
--- a/dev-java/openjdk/openjdk-17.0.3_p7.ebuild
+++ b/dev-java/openjdk/openjdk-17.0.3_p7.ebuild
@@ -283,7 +283,7 @@ src_install() {
        dodir "${dest}"
        cp -pPR * "${ddest}" || die
 
-       dosym -r /etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
+       dosym8 -r /etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
 
        # must be done before running itself
        java-vm_set-pax-markings "${ddest}"

diff --git a/dev-java/openjdk/openjdk-8.332_p09.ebuild 
b/dev-java/openjdk/openjdk-8.332_p09.ebuild
index 5af7952e09b3..56ae18e26e00 100644
--- a/dev-java/openjdk/openjdk-8.332_p09.ebuild
+++ b/dev-java/openjdk/openjdk-8.332_p09.ebuild
@@ -205,7 +205,7 @@ src_install() {
        dodir "${dest}"
        cp -pPR * "${ddest}" || die
 
-       dosym -r /etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
+       dosym8 -r /etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
 
        java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
        java-vm_set-pax-markings "${ddest}"

Reply via email to