dev-java/batik: Append to variable gjl_java_args instead of replacing it

Before this fix all launchers for apps that depend on batik get their gil_java_args variable overwritten. Now the relevant config for batik is appended, keeping the previous content of the variable.

Closes: https://bugs.gentoo.org/922221
Signed-off-by: Manuel Mommertz <manuel.mommertz@desy.de>
Closes: https://github.com/gentoo/gentoo/pull/34864
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Manuel Mommertz
2024-01-17 11:53:58 +01:00
committed by Sam James
parent 9ced3e5201
commit de95d4d877

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -229,7 +229,7 @@ src_install() {
_EOF_
java-pkg_register-environment-variable \
gjl_java_args \
"-Djava.security.policy=file:${EPREFIX}${java_policy_file}"
"\$gjl_java_args -Djava.security.policy=file:${EPREFIX}${java_policy_file}"
if use doc; then
java-pkg_dojavadoc target/api