summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-10-06 19:42:35 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-10-06 19:42:35 +0200
commit884c106fac1cba2ef66e282627d3948785ac60e9 (patch)
tree4f09168f3529ce425001d60ba6eb20fc67aa5664 /core
parent555e45fd2c7e1e827d8915e2a3befbaa0889952e (diff)
downloadpackages-884c106fac1cba2ef66e282627d3948785ac60e9.tar.xz
core/kmod: i486, no gtk-doc
Diffstat (limited to 'core')
-rw-r--r--core/kmod/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/kmod/PKGBUILD b/core/kmod/PKGBUILD
new file mode 100644
index 00000000..184ab2a8
--- /dev/null
+++ b/core/kmod/PKGBUILD
@@ -0,0 +1,11 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # don't build documentation
+ makedepends=(${makedepends[@]//gtk-doc/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-gtk-doc/--disable-gtk-doc/
+ '
+ )"
+fi