Re: [gentoo-dev] [PATCH] java-utils-2.eclass: ECLASS_VARIABLE JAVA_PKG_NO_CLEAN

2023-02-04 Thread Yuan Liao (Leo3418)
On Sat, Feb 04, 2023 at 02:29:31PM +0100, Volkmar W. Pogatzki wrote: > @@ -2928,9 +2940,16 @@ is-java-strict() { > # Java package cleaner function. This will remove all *.class and *.jar > # files, removing any bundled dependencies. > java-pkg_clean() { > - if [[ -z "${JAVA_PKG_NO_CLEAN}" ]]

[gentoo-dev] [PATCH] java-utils-2.eclass: ECLASS_VARIABLE JAVA_PKG_NO_CLEAN

2023-02-04 Thread Volkmar W. Pogatzki
The new ECLASS_VARIABLE JAVA_PKG_NO_CLEAN is defined as an array in which those *.class or *.jar files can be listed which should not be removed by java-pkg_clean. This change helps in cases where only a small parts of bundled stuff cannot be replaced with system libraries. It also helps to visual