aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-03-05 10:52:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-03-05 10:53:01 +0000
commitdcb34271f75b97a87afa29fce424aa1cc979e50b (patch)
tree47e94406737e2722054b8d1515f7fb3393d7ebe1
parent4fd1f514dbbb775adf114483a40f4781781c5a9d (diff)
downloadaports-dcb34271f75b97a87afa29fce424aa1cc979e50b.tar.bz2
aports-dcb34271f75b97a87afa29fce424aa1cc979e50b.tar.xz
main/mdocml: improve based on feedback from upstream
-rw-r--r--main/mdocml/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/main/mdocml/APKBUILD b/main/mdocml/APKBUILD
index 518e06d457..3e611574f9 100644
--- a/main/mdocml/APKBUILD
+++ b/main/mdocml/APKBUILD
@@ -2,7 +2,7 @@
pkgname=mdocml
_pkgname=mandoc
pkgver=1.14.3
-pkgrel=0
+pkgrel=1
pkgdesc="mdoc/man compiler"
url="http://mdocml.bsd.lv/"
arch="all"
@@ -31,12 +31,13 @@ LIBDIR=/usr/lib
CFLAGS="$CFLAGS"
UTF8_LOCALE="en_US.UTF-8"
MANPATH_DEFAULT="/usr/share/man:/usr/local/man"
+LN="ln -sf"
EOF
}
build() {
cd "$builddir"
- ./configure
+ MANPATH_BASE="/usr/share/man" ./configure
make
}
@@ -48,11 +49,6 @@ check() {
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" base-install lib-install
- for X in usr/bin/apropos usr/bin/whatis usr/bin/man usr/sbin/makewhatis
- do
- rm -f "$pkgdir/$X"
- ln -s /usr/bin/mandoc "$pkgdir/$X"
- done
}
man() {