summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-07-18 14:57:49 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-19 08:35:17 +0300
commit7d522dd17e28995c7c623464e74a83b2836dea9b (patch)
tree8a106adb9aedcc8c325e264990ef9f4565940410 /dev-java
parentdev-libs/protobuf-c: add 1.5.0-r2 (diff)
downloadgentoo-7d522dd17e28995c7c623464e74a83b2836dea9b.tar.gz
gentoo-7d522dd17e28995c7c623464e74a83b2836dea9b.tar.bz2
gentoo-7d522dd17e28995c7c623464e74a83b2836dea9b.zip
dev-java/openjdk-bin: force remove 'lib/lib*splashscreen*'
for building with headless-awt, splashscreen and frieds need to get removed. it should not die if something cannot be removed because it does not exist. Closes: https://bugs.gentoo.org/934974 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/37604 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/openjdk-bin/openjdk-bin-21.0.3_p9-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-java/openjdk-bin/openjdk-bin-21.0.3_p9-r1.ebuild b/dev-java/openjdk-bin/openjdk-bin-21.0.3_p9-r1.ebuild
index 3a398cc87007..7fc34d184029 100644
--- a/dev-java/openjdk-bin/openjdk-bin-21.0.3_p9-r1.ebuild
+++ b/dev-java/openjdk-bin/openjdk-bin-21.0.3_p9-r1.ebuild
@@ -106,7 +106,8 @@ src_install() {
fi
if use headless-awt ; then
- rm -v lib/lib*{[jx]awt,splashscreen}* || die
+ # do not die if not available, -f for bug #934974
+ rm -fv lib/lib*{[jx]awt,splashscreen}* || die
fi
fi