Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-10-11 10:02:43 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-10-11 10:02:43 +0200
commit6474c0bb293fad4ac5acd2b592e73377884b0ba6 (patch)
treee0c5efa8353e98cb18b06d1208865210d1c198b8
parent6128197682f03bec73f8eba04df2d7114caf54cc (diff)
extra/jsoncpp: no graphviz on i486
-rw-r--r--extra/jsoncpp/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/jsoncpp/PKGBUILD b/extra/jsoncpp/PKGBUILD
new file mode 100644
index 00000000..519381b5
--- /dev/null
+++ b/extra/jsoncpp/PKGBUILD
@@ -0,0 +1,15 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # do graphviz
+ makedepends=(${makedepends[@]//graphviz/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /python doxybuild.py/d
+ '
+ declare -f package_jsoncpp-doc | \
+ sed '
+ /cp -a dist\/doxygen/d
+ '
+ )"
+fi