diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2003-06-10 18:02:13 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2003-06-10 18:02:13 +0000 |
commit | c853a41263a26e76ab1342f0f2233f45fb93b947 (patch) | |
tree | 468d9a1d1dd5fcdb2941e4da1254eb951ca5df3f /devel/p5-Data-Serializer | |
parent | Add missing dependency for p5-YAML. (diff) |
Make workaround for bug in ExtUtils::MM_Unix on perl 5.00503
Notes
Notes:
svn path=/head/; revision=82708
Diffstat (limited to 'devel/p5-Data-Serializer')
-rw-r--r-- | devel/p5-Data-Serializer/Makefile | 8 | ||||
-rw-r--r-- | devel/p5-Data-Serializer/files/500503-Makefile.PL | 12 |
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/p5-Data-Serializer/Makefile b/devel/p5-Data-Serializer/Makefile index 9fd23d4e4607..8ed3280fed65 100644 --- a/devel/p5-Data-Serializer/Makefile +++ b/devel/p5-Data-Serializer/Makefile @@ -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> diff --git a/devel/p5-Data-Serializer/files/500503-Makefile.PL b/devel/p5-Data-Serializer/files/500503-Makefile.PL new file mode 100644 index 000000000000..85064a667bc4 --- /dev/null +++ b/devel/p5-Data-Serializer/files/500503-Makefile.PL @@ -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(@_); ++} |