aboutsummaryrefslogtreecommitdiff
path: root/extra/groff/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/groff/build')
-rwxr-xr-xextra/groff/build14
1 files changed, 6 insertions, 8 deletions
diff --git a/extra/groff/build b/extra/groff/build
index fd401417..6da916d1 100755
--- a/extra/groff/build
+++ b/extra/groff/build
@@ -2,15 +2,13 @@
patch -p0 < musl.patch
+export LDFLAGS="$LDFLAGS -static"
+
./configure \
- --prefix=/usr \
- --without-x \
- --disable-rpath \
- --with-doc=no \
- --disable-nls
+ --prefix=/usr \
+ --without-x \
+ --disable-rpath \
+ --disable-nls
make
make DESTDIR="$1" install
-for file in /usr/share/man/man7/roff.7 /usr/share/man/man1/soelim.1 /usr/bin/soelim ; do
- rm "$1/$file"
-done