dev-util/dput-ng: simplify the manpage installation logic
authorGöktürk Yüksek <gokturk@gentoo.org>
Sun, 22 May 2016 00:35:24 +0000 (20:35 -0400)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 25 May 2016 07:47:43 +0000 (07:47 +0000)
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>
dev-util/dput-ng/dput-ng-1.10.ebuild

index cdfed677039af494ab3bfdcf691001a924a49e40..a57f1449244d9b7c8f38b5ea8f595e42b401cb58 100644 (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
 }