summaryrefslogtreecommitdiff
path: root/extra/jsoncpp
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
committerErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
commitbcb5133554da96e552b4d74fe48d336a80efebed (patch)
treed8a32204cde75836563f405691c83fc21f1fa95a /extra/jsoncpp
parent15cb4dca227b2a7873adc64350601dde8d85f985 (diff)
downloadpackages-bcb5133554da96e552b4d74fe48d336a80efebed.tar.xz
"if [ $CARCH = ... ]; then depends=..; fi" => "depends_...=..."
Diffstat (limited to 'extra/jsoncpp')
-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 '