aboutsummaryrefslogtreecommitdiff
path: root/extra/groff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-16 17:44:15 +0300
committerCem Keylan <cem@ckyln.com>2021-07-16 17:44:15 +0300
commit8d39fc768088a2e706c9c7c3244c52e2e00b85a1 (patch)
treee5bc32dce202fca7c442eed5db78150a7f32c2a1 /extra/groff
parent619df6c7b2522b8384765ae54efac4f85131054b (diff)
downloadrepository-8d39fc768088a2e706c9c7c3244c52e2e00b85a1.tar.gz
groff: link statically and install alternative files
Diffstat (limited to 'extra/groff')
-rwxr-xr-xextra/groff/build14
-rw-r--r--extra/groff/version2
2 files changed, 7 insertions, 9 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
diff --git a/extra/groff/version b/extra/groff/version
index 1418be46..8873ee69 100644
--- a/extra/groff/version
+++ b/extra/groff/version
@@ -1 +1 @@
-1.22.4 1
+1.22.4 2