aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-29 19:17:07 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-29 19:32:58 -0300
commit7f9d0dd06fc561630c2ac41c53627b218cafb7f1 (patch)
tree2d78ddb49e13e1d4069483127b9eaaafc6360444
parent53b4005cfd5e77a0910efc5cc7f847d086b62d6c (diff)
downloadaports-7f9d0dd06f.tar.gz
aports-7f9d0dd06f.tar.bz2
aports-7f9d0dd06f.tar.xz
main/mdocml: pass HAVE_LESS_T
fixes #11345
-rw-r--r--main/mdocml/APKBUILD19
1 files changed, 5 insertions, 14 deletions
diff --git a/main/mdocml/APKBUILD b/main/mdocml/APKBUILD
index 2ca8405776..f5ae0f2583 100644
--- a/main/mdocml/APKBUILD
+++ b/main/mdocml/APKBUILD
@@ -1,8 +1,9 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mdocml
_pkgname=mandoc
pkgver=1.14.5
-pkgrel=2
+pkgrel=3
pkgdesc="mdoc/man compiler"
url="http://mdocml.bsd.lv/"
arch="all"
@@ -11,7 +12,7 @@ makedepends="zlib-dev"
checkdepends="perl"
install="$pkgname.post-deinstall"
triggers="$pkgname-apropos.trigger=/usr/share/man/*"
-subpackages="$pkgname-doc $pkgname-dev man::noarch $pkgname-apropos $pkgname-soelim"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-apropos $pkgname-soelim"
source="http://mdocml.bsd.lv/snapshots/$_pkgname-$pkgver.tar.gz
shared-libmandoc.patch
outdated-warn-disable.patch
@@ -23,7 +24,6 @@ builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
cat >configure.local<<-__EOF__
PREFIX=/usr
MANDIR=/usr/share/man
@@ -36,27 +36,18 @@ __EOF__
}
build() {
- cd "$builddir"
- MANPATH_BASE="/usr/share/man" ./configure
+ HAVE_LESS_T=0 MANPATH_BASE="/usr/share/man" ./configure
make
}
check() {
- cd "$builddir"
LD_LIBRARY_PATH="$builddir" make regress
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" base-install lib-install
}
-man() {
- pkgdesc="dummy package for upgrade compatibility. this can safely be removed"
- depends="mdocml"
- mkdir -p "$subpkgdir"
-}
-
apropos() {
pkgdesc="makewhatis/whatis and apropos tools and index"
mkdir -p "$subpkgdir"/usr/sbin "$subpkgdir"/usr/bin