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 44BF215808B for ; Fri, 15 Apr 2022 16:51:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71452E0933; Fri, 15 Apr 2022 16:51:33 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F0A3E0933 for ; Fri, 15 Apr 2022 16:51:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 730CA342136 for ; Fri, 15 Apr 2022 16:51:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE3CF250 for ; Fri, 15 Apr 2022 16:51:29 +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: <1650041486.0c534521fb6d617b6ce42de4fe24aac3daf1dcf6.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/log4j-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/log4j-core/log4j-core-2.17.2.ebuild X-VCS-Directories: dev-java/log4j-core/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 0c534521fb6d617b6ce42de4fe24aac3daf1dcf6 X-VCS-Branch: master Date: Fri, 15 Apr 2022 16:51:29 +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: 2a199e5d-21ce-419c-be1f-bd9ceedb5ac6 X-Archives-Hash: 307837041ec9f152b121a618aa54a6b2 commit: 0c534521fb6d617b6ce42de4fe24aac3daf1dcf6 Author: Florian Schmaus gentoo org> AuthorDate: Fri Apr 15 16:50:28 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri Apr 15 16:51:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c534521 dev-java/log4j-core: use @argfile when invoking javac Signed-off-by: Florian Schmaus gentoo.org> dev-java/log4j-core/log4j-core-2.17.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-java/log4j-core/log4j-core-2.17.2.ebuild b/dev-java/log4j-core/log4j-core-2.17.2.ebuild index 9dcdcd2dc96a..ff6f6cff8753 100644 --- a/dev-java/log4j-core/log4j-core-2.17.2.ebuild +++ b/dev-java/log4j-core/log4j-core-2.17.2.ebuild @@ -157,9 +157,11 @@ src_compile() { "${JAVA_GENTOO_CLASSPATH},${JAVA_CLASSPATH_EXTRA}")" # Just in case java-pkg-simple.eclass changes the path in the future mkdir -p "${classes}" || die "Failed to create directory for classes" + local sources_list_file="${T}/sources.lst" + find "${JAVA_SRC_DIR}" -type f -name "*.java" > "${sources_list_file}" || die ejavac -d "${classes}" -cp "${classpath}" \ -proc:only -processor "${processor}" \ - $(find "${JAVA_SRC_DIR}" -name "*.java") + @"${sources_list_file}" # Update the JAR to include the serialized plugin listing file local jar="$(java-config -j)" "${jar}" -uf "${JAVA_JAR_FILENAME}" -C "${classes}" . ||