dev-util/dput-ng: simplify the manpage installation logic

doman performs auto language detection based on the file name. This
causes problems with the 'dput.cf.5' man file since 'cf' is not a
language code. Set i18n to an empty string explicitly to disable
autodetection.

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1510

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Göktürk Yüksek
2016-05-21 20:35:24 -04:00
committed by Patrice Clement
parent 5b0391abb9
commit 4e112f7afa

View File

@@ -72,13 +72,8 @@ src_install() {
doins -r skel/"${dir}"
done
insinto /usr/share/man/man5
doins man/dput.cf.5
rm man/dput.cf.5 || die
for file in man/*; do
doman "${file}"
done
# doman incorrectly treats "cf" in dput.cf.5 as a lang code
doman -i18n="" man/*
newbashcomp debian/"${PN}".bash-completion dput
}