aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel NĂ©ri <dne+alpine@mayonnaise.net>2020-08-19 23:04:53 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-08-20 08:03:10 +0000
commita810a959291be1f0e523c81f5cc40a7f7cb13fc7 (patch)
treefd7ff3eb2de2a3dbf7684455b352b800dd923f47
parent4d1cf85e175badd34ed1e5263169143955116460 (diff)
downloadaports-a810a959291be1f0e523c81f5cc40a7f7cb13fc7.tar.gz
aports-a810a959291be1f0e523c81f5cc40a7f7cb13fc7.tar.bz2
aports-a810a959291be1f0e523c81f5cc40a7f7cb13fc7.tar.xz
main/mandoc: override build config variables correctly
HAVE_LESS_T and MANPATH_BASE were not properly set (i.e. in configure.local) and thus not honoured.
-rw-r--r--main/mandoc/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/mandoc/APKBUILD b/main/mandoc/APKBUILD
index 1e49977275..ea1d100253 100644
--- a/main/mandoc/APKBUILD
+++ b/main/mandoc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mandoc
pkgver=1.14.5
-pkgrel=4
+pkgrel=5
pkgdesc="mandoc (formerly mdocml) UNIX manpage compiler toolset"
url="https://mandoc.bsd.lv/"
arch="all"
@@ -31,12 +31,14 @@ prepare() {
CFLAGS="$CFLAGS"
UTF8_LOCALE="en_US.UTF-8"
MANPATH_DEFAULT="/usr/share/man:/usr/local/man"
+ MANPATH_BASE="/usr/share/man"
LN="ln -sf"
+ HAVE_LESS_T=0
__EOF__
}
build() {
- HAVE_LESS_T=0 MANPATH_BASE="/usr/share/man" ./configure
+ ./configure
make
}