summaryrefslogtreecommitdiff
path: root/extra/jsoncpp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/jsoncpp/PKGBUILD')
-rw-r--r--extra/jsoncpp/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/jsoncpp/PKGBUILD b/extra/jsoncpp/PKGBUILD
index 519381b5..64e3d308 100644
--- a/extra/jsoncpp/PKGBUILD
+++ b/extra/jsoncpp/PKGBUILD
@@ -1,7 +1,10 @@
+# no graphviz on i486
+makedepends=(${makedepends[@]//graphviz/})
+makedepends_i686+=(graphviz)
+
# 486-specific
if [ "${CARCH}" = "i486" ]; then
- # do graphviz
- makedepends=(${makedepends[@]//graphviz/})
+ # no graphviz
eval "$(
declare -f build | \
sed '