commit:     4e112f7afae27f424baadc86c7712cfb610c7d46
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 00:35:24 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed May 25 07:47:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e112f7a

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 <AT> gentoo.org>

 dev-util/dput-ng/dput-ng-1.10.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/dev-util/dput-ng/dput-ng-1.10.ebuild 
b/dev-util/dput-ng/dput-ng-1.10.ebuild
index cdfed67..a57f144 100644
--- a/dev-util/dput-ng/dput-ng-1.10.ebuild
+++ b/dev-util/dput-ng/dput-ng-1.10.ebuild
@@ -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
 }

Reply via email to