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: 2013-11-06
--- a/lib/Module/Build/Base.pm
+++ b/lib/Module/Build/Base.pm
@@ -3213,7 +3213,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$') ] );
@@ -3240,7 +3240,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;
