2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 23:12:28 +00:00
repo/core/mandoc/build

21 lines
307 B
Plaintext
Raw Normal View History

2019-08-13 10:49:28 +00:00
#!/bin/sh -e
patch -p1 < mandoc-no-warn.patch
2019-11-18 01:05:39 +00:00
sed -i 's,"more -s","less",g' main.c
2020-01-21 21:17:06 +00:00
sed -i "s/CC=.*/CC='$CC'/" configure
2019-08-13 10:49:28 +00:00
cat > configure.local <<EOF
PREFIX=/usr
MANDIR=/usr/share/man
LIBDIR=/usr/lib
2019-10-08 17:45:37 +00:00
CC="${CC:-gcc}"
2019-08-13 10:49:28 +00:00
CFLAGS="$CFLAGS"
LN="ln -sf"
EOF
./configure
2019-08-29 10:49:04 +00:00
make
make -j1 DESTDIR="$1" base-install