File: 006_man_section_and_build_warnings.patch

package info (click to toggle)
libapache2-mod-perl2 2.0.11-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,008 kB
  • sloc: perl: 97,778; ansic: 14,487; makefile: 49; sh: 18
file content (18 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix man section of the generated manpages
 On Debian, manual pages about Perl modules need to have the '3pm' extension as
 per Debian Perl policy.
Forwarded: not-needed
Author: Gunnar Wolf <gwolf@debian.org>
Last-Update: 2011-03-22
Reviewed-by: Nicholas Bamber <nicholas@periapt.co.uk>
--- a/lib/ModPerl/BuildMM.pm
+++ b/lib/ModPerl/BuildMM.pm
@@ -283,7 +283,7 @@ sub ModPerl::BuildMM::MY::postamble {
                 $man =~ s!/!::!g;
 
                 push @target,
-                    '$(NOECHO) $(POD2MAN_EXE) --section=3 ' .
+                    '$(NOECHO) $(POD2MAN_EXE) --section=3pm ' .
                     "$podpath \$(INST_MAN3DIR)/$man.\$(MAN3EXT)"
             }
         }