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/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 | \