Make workaround for bug in ExtUtils::MM_Unix on perl 5.00503

This commit is contained in:
Sergey Skvortsov 2003-06-10 18:02:13 +00:00
parent a8ffa6f856
commit c853a41263
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82708
2 changed files with 19 additions and 1 deletions

View file

@ -29,4 +29,10 @@ MAN3= Data::Serializer.3 Data::Serializer::Config::General.3 \
Data::Serializer::Data::Dumper.3 Data::Serializer::FreezeThaw.3 \
Data::Serializer::Storable.3 Data::Serializer::YAML.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES= ${PATCHDIR}/500503-Makefile.PL
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,12 @@
--- Makefile.PL.orig Tue Jun 10 21:30:54 2003
+++ Makefile.PL Tue Jun 10 21:49:49 2003
@@ -15,3 +15,9 @@
'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl'}
);
+
+sub MY::manifypods {
+ package MY; my $self=shift;
+ $self->{MAN3PODS}->{'lib/Data/Serializer/Config/General.pm'}='$(INST_MAN3DIR)/Data::Serializer::Config::General.$(MAN3EXT)';
+ $self->SUPER::manifypods(@_);
+}