commit:     de95d4d877419d13a16de8467f3c5f0c10149b4d
Author:     Manuel Mommertz <manuel.mommertz <AT> desy <DOT> de>
AuthorDate: Wed Jan 17 10:53:58 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 05:52:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de95d4d8

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 <AT> desy.de>
Closes: https://github.com/gentoo/gentoo/pull/34864
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/batik/{batik-1.17.ebuild => batik-1.17-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/batik/batik-1.17.ebuild 
b/dev-java/batik/batik-1.17-r1.ebuild
similarity index 98%
rename from dev-java/batik/batik-1.17.ebuild
rename to dev-java/batik/batik-1.17-r1.ebuild
index e86745d88df5..b389f8994bd7 100644
--- a/dev-java/batik/batik-1.17.ebuild
+++ b/dev-java/batik/batik-1.17-r1.ebuild
@@ -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

Reply via email to