Subject: | CGI::Simple not building/installing man pages |
Hi,
In the process of porting CGI::Simple to FreeBSD, I came across a couple of issues. I'll report each in a separate RT case.
Due to the non-standard file locations, ExtUtils::MakeMaker cannot automatically detect the POD in Simple.pm, Simple/Cookie.pm, Simple/Standard.pm, Simple/Util.pm, and therefore does not build or install the man pages for the modules.
The attached patch fixes that.
/Lars
--- Makefile.PL.orig Wed Nov 10 22:33:32 2004
+++ Makefile.PL Wed Nov 10 22:33:38 2004
@@ -5,4 +5,10 @@
'NAME' => 'CGI::Simple',
'VERSION_FROM' => 'Simple.pm', # finds $VERSION
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
+ 'MAN3PODS' => {
+ 'Simple.pm' => '$(INST_MAN3DIR)/CGI::Simple.$(MAN3EXT)',
+ 'Simple/Cookie.pm' => '$(INST_MAN3DIR)/CGI::Simple::Cookie.$(MAN3EXT)',
+ 'Simple/Standard.pm' => '$(INST_MAN3DIR)/CGI::Simple::Standard.$(MAN3EXT)',
+ 'Simple/Util.pm' => '$(INST_MAN3DIR)/CGI::Simple::Util.$(MAN3EXT)',
+ },
);