summaryrefslogtreecommitdiff
path: root/sysutils/debhelper/files/patch-dh_installman
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/debhelper/files/patch-dh_installman')
-rw-r--r--sysutils/debhelper/files/patch-dh_installman12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/debhelper/files/patch-dh_installman b/sysutils/debhelper/files/patch-dh_installman
new file mode 100644
index 000000000000..666fad64911d
--- /dev/null
+++ b/sysutils/debhelper/files/patch-dh_installman
@@ -0,0 +1,12 @@
+--- dh_installman.orig 2015-09-19 09:06:22 UTC
++++ dh_installman
+@@ -201,7 +201,8 @@ foreach my $package (@{$dh{DOPACKAGES}})
+ }
+
+ # Now utf-8 conversion.
+- if (defined `man --version`) {
++ my $man_version = `man --version 2> /dev/null`;
++ if (defined $man_version && length($man_version)) {
+ foreach my $dir (qw{usr/share/man}) {
+ next unless -e "$tmp/$dir";
+ find(sub {