summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2017-07-15 19:16:22 +0100
committerJames Le Cuirot <chewi@gentoo.org>2017-07-15 19:17:07 +0100
commitfef98f3917043e1194cedfd6538c261ab2468244 (patch)
tree85dc8b779695617c548011d2b3fb3f45b74ea244 /dev-java/icedtea-bin
parentx11-themes/arc-theme: Add ~arm keyword, closes bug #622514 (diff)
downloadgentoo-fef98f3917043e1194cedfd6538c261ab2468244.tar.gz
gentoo-fef98f3917043e1194cedfd6538c261ab2468244.tar.bz2
gentoo-fef98f3917043e1194cedfd6538c261ab2468244.zip
dev-java/icedtea-bin: Fix removal of files on arm, closes #623784
The arm -> aarch32 symlink causes globbing to return duplicates and rm therefore fails. Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-java/icedtea-bin')
-rw-r--r--dev-java/icedtea-bin/icedtea-bin-3.4.0.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-java/icedtea-bin/icedtea-bin-3.4.0.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.4.0.ebuild
index 3aa3b0f759c7..7ff07f71af74 100644
--- a/dev-java/icedtea-bin/icedtea-bin-3.4.0.ebuild
+++ b/dev-java/icedtea-bin/icedtea-bin-3.4.0.ebuild
@@ -81,12 +81,15 @@ pkg_pretend() {
src_prepare() {
default
+ # I wouldn't normally use -f below but symlinks in the arm files
+ # make this fail otherwise and any other approach would be tedious.
+
if ! use alsa; then
- rm -v */jre/lib/*/libjsoundalsa.* || die
+ rm -fv */jre/lib/*/libjsoundalsa.* || die
fi
if use headless-awt; then
- rm -vr */jre/lib/*/lib*{[jx]awt,splashscreen}* \
+ rm -fvr */jre/lib/*/lib*{[jx]awt,splashscreen}* \
*/{,jre/}bin/policytool */bin/appletviewer || die
fi
}