Improve BSD man page location detection

Improve BSD man page location detection by using /usr/share/man as the
system default
This commit is contained in:
XANTRONIX Development 2020-09-05 17:58:07 -04:00 committed by XANTRONIX Industrial
parent bfd97bb7e5
commit 7571c6f97b

10
configure vendored
View file

@ -107,8 +107,14 @@ EOF
} }
build_mk_append_man_bsd() { build_mk_append_man_bsd() {
cat <<'EOF' >> "$1" if [ "$PREFIX" = "/usr" ]; then
MANDIR = $(PREFIX)/man local mandir='$(PREFIX)/share/man'
else
local mandir='$(PREFIX)/man'
fi
cat <<EOF >> "$1"
MANDIR = $mandir
EOF EOF
} }