From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 94939158089 for ; Tue, 14 Nov 2023 14:11:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 815942BC019; Tue, 14 Nov 2023 14:11:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B60C2BC019 for ; Tue, 14 Nov 2023 14:11:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9ADFB335D7F for ; Tue, 14 Nov 2023 14:11:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BA8A1387 for ; Tue, 14 Nov 2023 14:11:40 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1699971087.725274b578ca59a164f7837fcc546e4559ad7286.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/java-utils-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 725274b578ca59a164f7837fcc546e4559ad7286 X-VCS-Branch: master Date: Tue, 14 Nov 2023 14:11:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 48d2fd0e-fae7-4cd3-baa2-e27929debc17 X-Archives-Hash: b9300b2b24551c170aaea90cfdfe03dc commit: 725274b578ca59a164f7837fcc546e4559ad7286 Author: Florian Schmaus gentoo org> AuthorDate: Tue Nov 14 11:35:46 2023 +0000 Commit: Florian Schmaus gentoo 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 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}\""