summaryrefslogtreecommitdiff
path: root/extra/valgrind/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/valgrind/PKGBUILD')
-rw-r--r--extra/valgrind/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/valgrind/PKGBUILD b/extra/valgrind/PKGBUILD
index 09f114cc..f927249d 100644
--- a/extra/valgrind/PKGBUILD
+++ b/extra/valgrind/PKGBUILD
@@ -4,3 +4,12 @@ replaces=("${replaces[@]/$pkgname-multilib}")
unset checkdepends
unset check
+
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # disable OpenMPI support
+ makedepends=(${makedepends[@]//openmpi/})
+
+ # no docbook
+ makedepends=(${makedepends[@]//docbook-sgml/})
+fi