summaryrefslogtreecommitdiff
path: root/extra/jsoncpp/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-07 14:44:24 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-07 14:44:24 +0000
commit8ed0728c59898b5fc15bd45914620bee92b9b5dc (patch)
treef8d66b8310e8ee526061f1ef1f67d0b2dbbfca9c /extra/jsoncpp/PKGBUILD
parentbc84bb5521096efecb4ee87805ce5e8f69a25a6d (diff)
downloadpackages-8ed0728c59898b5fc15bd45914620bee92b9b5dc.tar.xz
extra/jsoncpp: added i486 specific patches
Diffstat (limited to 'extra/jsoncpp/PKGBUILD')
-rw-r--r--extra/jsoncpp/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/jsoncpp/PKGBUILD b/extra/jsoncpp/PKGBUILD
new file mode 100644
index 00000000..a9b60ed8
--- /dev/null
+++ b/extra/jsoncpp/PKGBUILD
@@ -0,0 +1,18 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no doxygen or graphviz
+ makedepends=(${makedepends[@]//doxygen/})
+ makedepends=(${makedepends[@]//graphviz/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /python doxybuild.py/d
+ '
+ declare -f package_jsoncpp-doc | \
+ sed '
+ /cp -a dist\/doxygen/d
+ '
+ )"
+fi
+
+