diff options
author | Erich Eckner <git@eckner.net> | 2017-11-27 09:21:54 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-27 09:22:37 +0100 |
commit | 403e0bf1dc6abbedb69d7fcb66523c6703c6aa56 (patch) | |
tree | 7f3520d49a4605ab29917d8cd4e4e0bb51fb1bd1 | |
parent | f3155c8b662cefa706f54be2337f47e6b21ec083 (diff) | |
download | packages-403e0bf1dc6abbedb69d7fcb66523c6703c6aa56.tar.xz |
extra/valgrind: remove multilib dependencies and targets
-rw-r--r-- | extra/valgrind/PKGBUILD | 10 |
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}") |