diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-04-15 18:50:28 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-04-15 18:51:26 +0200 |
commit | 0c534521fb6d617b6ce42de4fe24aac3daf1dcf6 (patch) | |
tree | be2b5a36ee095655985fc45c5364236c01ce511a /dev-java/log4j-core | |
parent | dev-python/pycairo: Stabilize 1.21.0 ppc64, #838565 (diff) | |
download | gentoo-0c534521fb6d617b6ce42de4fe24aac3daf1dcf6.tar.gz gentoo-0c534521fb6d617b6ce42de4fe24aac3daf1dcf6.tar.bz2 gentoo-0c534521fb6d617b6ce42de4fe24aac3daf1dcf6.zip |
dev-java/log4j-core: use @argfile when invoking javac
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/log4j-core')
-rw-r--r-- | dev-java/log4j-core/log4j-core-2.17.2.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
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}" . || |