aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Data-Serializer
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-06-11 02:02:13 +0800
committerskv <skv@FreeBSD.org>2003-06-11 02:02:13 +0800
commita1995e39221eb3f2d20b2b98769ce5241344f61b (patch)
treebc914e42220e16c872edf496bfa3b5c699ccb123 /devel/p5-Data-Serializer
parent5f468c42cc0a50bfeb4e2f9401190d5b08269d93 (diff)
downloadfreebsd-ports-gnome-a1995e39221eb3f2d20b2b98769ce5241344f61b.tar.gz
freebsd-ports-gnome-a1995e39221eb3f2d20b2b98769ce5241344f61b.tar.zst
freebsd-ports-gnome-a1995e39221eb3f2d20b2b98769ce5241344f61b.zip
Make workaround for bug in ExtUtils::MM_Unix on perl 5.00503
Diffstat (limited to 'devel/p5-Data-Serializer')
-rw-r--r--devel/p5-Data-Serializer/Makefile8
-rw-r--r--devel/p5-Data-Serializer/files/500503-Makefile.PL12
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(@_);
++}