Package: libmodule-build-perl / 0.422000-1

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
27
28
29
30
31
32
33
34
From: Niko Tyni <ntyni@debian.org>
Date: Thu, 21 Aug 2014 13:17:20 +0200
Subject: [PATCH] Fix manual page extensions for Debian.


Forwarded: not-needed
Reviewed-by: Florian Schlichting <fsfs@debian.org>
Patch-Name: man-ext
---

 lib/Module/Build/Base.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Module/Build/Base.pm b/lib/Module/Build/Base.pm
--- a/lib/Module/Build/Base.pm
+++ b/lib/Module/Build/Base.pm
@@ -3212,7 +3212,7 @@ sub ACTION_manpages {
 
 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_bin_pods {
 
 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;