summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-29 11:00:17 +0100
committerErich Eckner <git@eckner.net>2019-11-29 11:00:17 +0100
commita48aff11589f9504ed4c9a524e2f4c13589a427f (patch)
tree486991f191a3a04b5136da3a670f56abbf4d0353 /core/linux/PKGBUILD
parent47677d7e5faac128c0c4f17f5a85fd2044c1de43 (diff)
downloadpackages-a48aff11589f9504ed4c9a524e2f4c13589a427f.tar.xz
core/linux: we must remove imagemagick from makedepends on i486, too
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 | \