Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/groff/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/groff/PKGBUILD')
-rw-r--r--core/groff/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/groff/PKGBUILD b/core/groff/PKGBUILD
new file mode 100644
index 00000000..010083bb
--- /dev/null
+++ b/core/groff/PKGBUILD
@@ -0,0 +1,14 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no optional dependencies
+ makedepends=(${makedepends[@]//psutils/})
+ makedepends=(${makedepends[@]//doxygen/})
+
+ eval "$(
+ declare -f build | \
+ sed '
+ s/configure/configure --disable-xml-docs --disable-doxygen-docs --disable-ducktype-docs/
+ '
+ )"
+fi
+