Package: libmodule-build-perl / 0.421000-2+deb8u1

man-ext Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Subject: Fix manual page extensions for Debian.
Author: Niko Tyni <ntyni@debian.org>
Forwarded: not-needed
Reviewed-by: Florian Schlichting <fsfs@debian.org> 
Last-Update: 2014-08-21

--- a/lib/Module/Build/Base.pm
+++ b/lib/Module/Build/Base.pm
@@ -3212,7 +3212,7 @@
 
 sub manify_bin_pods {
   my $self    = shift;
-  my %podman_args = (section =>  1, @_); # binaries go in section 1
+  my %podman_args = (section =>  '1p', @_); # binaries go in section 1
 
   my $files   = $self->_find_pods( $self->{properties}{bindoc_dirs},
                                    exclude => [ $self->file_qr('\.bat$') ] );
@@ -3239,7 +3239,7 @@
 
 sub manify_lib_pods {
   my $self    = shift;
-  my %podman_args = (section => 3, @_); # libraries go in section 3
+  my %podman_args = (section => '3pm', @_); # libraries go in section 3
 
   my $files   = $self->_find_pods($self->{properties}{libdoc_dirs});
   return unless keys %$files;