Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/valgrind/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-27 09:21:54 +0100
committerErich Eckner <git@eckner.net>2017-11-27 09:22:37 +0100
commit403e0bf1dc6abbedb69d7fcb66523c6703c6aa56 (patch)
tree7f3520d49a4605ab29917d8cd4e4e0bb51fb1bd1 /extra/valgrind/PKGBUILD
parentf3155c8b662cefa706f54be2337f47e6b21ec083 (diff)
extra/valgrind: remove multilib dependencies and targets
Diffstat (limited to 'extra/valgrind/PKGBUILD')
-rw-r--r--extra/valgrind/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/valgrind/PKGBUILD b/extra/valgrind/PKGBUILD
index 040cc81f..1ac1e8e2 100644
--- a/extra/valgrind/PKGBUILD
+++ b/extra/valgrind/PKGBUILD
@@ -10,3 +10,13 @@ prepare() {
cd $pkgname-$pkgver
patch -Np1 -i "$srcdir/valgrind-3.13.0-ignore-redundant-addr16-prefix-in-rel-call.patch"
}
+
+# remove multilib dependencies and targets
+depends=(
+ $(
+ printf '%s\n' "${depends[@]}" | \
+ sed '/^lib32-glibc\($\|[<>=]\)/d'
+ )
+)
+provides=("${provides[@]/$pkgname-multilib}")
+replaces=("${replaces[@]/$pkgname-multilib}")