commit: 725274b578ca59a164f7837fcc546e4559ad7286 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Tue Nov 14 11:35:46 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Tue Nov 14 14:11:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725274b5
java-utils-2.eclass: record LIBDIR in package.env Bug: https://bugs.gentoo.org/917326 Closes: https://github.com/gentoo/gentoo/pull/33821 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> eclass/java-utils-2.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index fd1f708b86b4..129402b256d5 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -2451,6 +2451,9 @@ java-pkg_do_write_() { echo "SLOT=\"${SLOT}\"" echo "CATEGORY=\"${CATEGORY}\"" echo "PVR=\"${PVR}\"" + # Record LIBDIR so that gjl can set java.library.path + # accordingly. Bug #917326. + echo "LIBDIR=\"$(get_libdir)\"" [[ -n "${JAVA_PKG_CLASSPATH}" ]] && echo "CLASSPATH=\"${JAVA_PKG_CLASSPATH}\"" [[ -n "${JAVA_PKG_LIBRARY}" ]] && echo "LIBRARY_PATH=\"${JAVA_PKG_LIBRARY}\""
