summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2016-05-21 20:35:24 -0400
committerPatrice Clement <monsieurp@gentoo.org>2016-05-25 07:47:43 +0000
commit4e112f7afae27f424baadc86c7712cfb610c7d46 (patch)
tree3c53e28a29b4e8c186909ffeecc6a2e9ac9ea63c /dev-util/dput-ng/dput-ng-1.10.ebuild
parentdev-util/serialtalk: fix license: s/GPL-3/GPL-3+/ (diff)
downloadgentoo-4e112f7afae27f424baadc86c7712cfb610c7d46.tar.gz
gentoo-4e112f7afae27f424baadc86c7712cfb610c7d46.tar.bz2
gentoo-4e112f7afae27f424baadc86c7712cfb610c7d46.zip
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>
Diffstat (limited to 'dev-util/dput-ng/dput-ng-1.10.ebuild')
-rw-r--r--dev-util/dput-ng/dput-ng-1.10.ebuild9
1 files 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 cdfed677039a..a57f1449244d 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
}