Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/linux/PKGBUILD')
-rw-r--r--core/linux/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD
index 11f0d837..6763cc6b 100644
--- a/core/linux/PKGBUILD
+++ b/core/linux/PKGBUILD
@@ -12,11 +12,13 @@ for ((i=0; i<${#sha256sums[@]}; i++)); do
fi
done
-if printf '%s\n' "${makedepends[@]}" | grep -qxF graphviz; then
- makedepends=(${makedepends[@]/graphviz/})
- makedepends_i686+=(graphviz)
- makedepends_pentium4=("${makedepends_i686[@]}")
-fi
+for _rem_i486_dep in graphviz imagemagick; do
+ if printf '%s\n' "${makedepends[@]}" | grep -qxF "${_rem_i486_dep}"; then
+ makedepends=(${makedepends[@]/${_rem_i486_dep}/})
+ makedepends_i686+=("${_rem_i486_dep}")
+ makedepends_pentium4=("${makedepends_i686[@]}")
+ fi
+done
eval "$(
declare -f prepare | \