1 |
commit: 4e112f7afae27f424baadc86c7712cfb610c7d46 |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 22 00:35:24 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 25 07:47:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e112f7a |
7 |
|
8 |
dev-util/dput-ng: simplify the manpage installation logic |
9 |
|
10 |
doman performs auto language detection based on the file name. This |
11 |
causes problems with the 'dput.cf.5' man file since 'cf' is not a |
12 |
language code. Set i18n to an empty string explicitly to disable |
13 |
autodetection. |
14 |
|
15 |
Package-Manager: portage-2.2.28 |
16 |
Closes: https://github.com/gentoo/gentoo/pull/1510 |
17 |
|
18 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
19 |
|
20 |
dev-util/dput-ng/dput-ng-1.10.ebuild | 9 ++------- |
21 |
1 file changed, 2 insertions(+), 7 deletions(-) |
22 |
|
23 |
diff --git a/dev-util/dput-ng/dput-ng-1.10.ebuild b/dev-util/dput-ng/dput-ng-1.10.ebuild |
24 |
index cdfed67..a57f144 100644 |
25 |
--- a/dev-util/dput-ng/dput-ng-1.10.ebuild |
26 |
+++ b/dev-util/dput-ng/dput-ng-1.10.ebuild |
27 |
@@ -72,13 +72,8 @@ src_install() { |
28 |
doins -r skel/"${dir}" |
29 |
done |
30 |
|
31 |
- insinto /usr/share/man/man5 |
32 |
- doins man/dput.cf.5 |
33 |
- rm man/dput.cf.5 || die |
34 |
- |
35 |
- for file in man/*; do |
36 |
- doman "${file}" |
37 |
- done |
38 |
+ # doman incorrectly treats "cf" in dput.cf.5 as a lang code |
39 |
+ doman -i18n="" man/* |
40 |
|
41 |
newbashcomp debian/"${PN}".bash-completion dput |
42 |
} |