commit: 47ae8a3407bffcc6b7e1c4c304683337c2cb0fcc Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me> AuthorDate: Fri Apr 25 11:33:25 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 26 01:54:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ae8a34
dev-java/maven-bin: Install relative symlinks Closes: https://bugs.gentoo.org/954392 Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me> Part-of: https://github.com/gentoo/gentoo/pull/41741 Closes: https://github.com/gentoo/gentoo/pull/41741 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-java/maven-bin/maven-bin-3.8.8-r1.ebuild | 5 ++--- dev-java/maven-bin/maven-bin-3.9.9.ebuild | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-java/maven-bin/maven-bin-3.8.8-r1.ebuild b/dev-java/maven-bin/maven-bin-3.8.8-r1.ebuild index b05640d31613..cf734f850620 100644 --- a/dev-java/maven-bin/maven-bin-3.8.8-r1.ebuild +++ b/dev-java/maven-bin/maven-bin-3.8.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,8 +47,7 @@ src_install() { dodoc NOTICE README.txt - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" "${EPREFIX}/usr/bin/mvn-${SLOT}" + dosym -r "${MAVEN_SHARE}/bin/mvn" "/usr/bin/mvn-${SLOT}" # See bug #342901. echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die diff --git a/dev-java/maven-bin/maven-bin-3.9.9.ebuild b/dev-java/maven-bin/maven-bin-3.9.9.ebuild index 199d1adc2e7b..f30689f32323 100644 --- a/dev-java/maven-bin/maven-bin-3.9.9.ebuild +++ b/dev-java/maven-bin/maven-bin-3.9.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -46,8 +46,7 @@ src_install() { dodoc NOTICE README.txt - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" "${EPREFIX}/usr/bin/mvn-${SLOT}" + dosym -r "${MAVEN_SHARE}/bin/mvn" "/usr/bin/mvn-${SLOT}" # See bug #342901. echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
