Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-19 13:35:00 +0200
committerErich Eckner <git@eckner.net>2019-06-19 13:35:00 +0200
commit035e1d552e34a7e8278d54cbeb802d85353dee1c (patch)
tree5ed211f165fe9b32be96fb30f857ee118f5b6910 /core
parenta4f0bf2a529100c09730038bbddd76b39f3ab89a (diff)
core/linux: only drop graphviz for i486 if it was a makedepends at all - otherwise we add it for i686 and pentium4 in contrast to upstream
Diffstat (limited to 'core')
-rw-r--r--core/linux/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD
index b9155b3b..9e1e4ba2 100644
--- a/core/linux/PKGBUILD
+++ b/core/linux/PKGBUILD
@@ -12,9 +12,11 @@ for ((i=0; i<${#sha256sums[@]}; i++)); do
fi
done
-makedepends=(${makedepends[@]/graphviz/})
-makedepends_i686+=(graphviz)
-makedepends_pentium4=("${makedepends_i686[@]}")
+if printf '%s\n' "${makedepends[@]}" | grep -qxF graphviz; then
+ makedepends=(${makedepends[@]/graphviz/})
+ makedepends_i686+=(graphviz)
+ makedepends_pentium4=("${makedepends_i686[@]}")
+fi
eval "$(
declare -f prepare | \