From a48aff11589f9504ed4c9a524e2f4c13589a427f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 29 Nov 2019 11:00:17 +0100 Subject: core/linux: we must remove imagemagick from makedepends on i486, too --- core/linux/PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'core/linux') 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 | \ -- cgit v1.2.3-70-g09d2