diff options
author | Cem Keylan <cem@ckyln.com> | 2021-09-24 13:08:39 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-09-24 13:08:39 +0300 |
commit | 8475408e51a1f35a381183bca888fa149d70a87e (patch) | |
tree | 2fd76f8b27d5f61b9ce304ff13e86b6908c6319f /core/mandoc/build | |
parent | 3940dfc8608b5d1e4326a152b989918a2ddc8160 (diff) | |
download | repository-8475408e51a1f35a381183bca888fa149d70a87e.tar.gz |
mandoc: drop package
Diffstat (limited to 'core/mandoc/build')
-rwxr-xr-x | core/mandoc/build | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/core/mandoc/build b/core/mandoc/build deleted file mode 100755 index 324e4138..00000000 --- a/core/mandoc/build +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -e - -sed_i() { - for file; do :; done - sed "$@" > _ - cat _ > "$file"; rm -f _ -} - -sed_i '/int dummy/d' compat_err.c -sed_i 's,"more -s","less",g' main.c -sed_i "s/CC=.*/CC='$CC'/" configure - -cat > configure.local <<EOF -PREFIX=/usr -MANDIR=/usr/share/man -LIBDIR=/usr/lib -SBINDIR=/usr/bin -CC="${CC:-gcc}" -CFLAGS="$CFLAGS" -LDFLAGS="$LDFLAGS -static" -MANPATH_DEFAULT=/usr/share/man -LN="ln -sf" -EOF - -MANPATH_BASE=/usr/share/man ./configure -make -make -j1 DESTDIR="$1" base-install lib-install - -# Make binaries writable. -chmod u+w "$1/usr/bin/"* - -# Remove all development files. -rm -rf "$1/usr/include" \ - "$1/usr/lib" \ - "$1/usr/share/man/man3" |