diff options
author | Erich Eckner <git@eckner.net> | 2019-06-19 13:35:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-19 13:35:00 +0200 |
commit | 035e1d552e34a7e8278d54cbeb802d85353dee1c (patch) | |
tree | 5ed211f165fe9b32be96fb30f857ee118f5b6910 /core | |
parent | a4f0bf2a529100c09730038bbddd76b39f3ab89a (diff) | |
download | packages-035e1d552e34a7e8278d54cbeb802d85353dee1c.tar.xz |
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/PKGBUILD | 8 |
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 | \ |