aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-ISO8601/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-11-21 12:32:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-11-21 12:32:04 +0000
commitbebd612484e36760b300721dbfbfea1fdbee20ab (patch)
tree1f1ec37cd70cba8d6f35c627599a13de00454f98 /devel/p5-DateTime-Format-ISO8601/Makefile
parent982257a820bb49e0a652e104b4c287dae48c5299 (diff)
Notes
Diffstat (limited to 'devel/p5-DateTime-Format-ISO8601/Makefile')
-rw-r--r--devel/p5-DateTime-Format-ISO8601/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/devel/p5-DateTime-Format-ISO8601/Makefile b/devel/p5-DateTime-Format-ISO8601/Makefile
index 9b39c548aa36..2930e3be732e 100644
--- a/devel/p5-DateTime-Format-ISO8601/Makefile
+++ b/devel/p5-DateTime-Format-ISO8601/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= DateTime-Format-ISO8601
-PORTVERSION= 0.03
-PORTREVISION= 1
+PORTVERSION= 0.04
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
@@ -25,4 +24,12 @@ PERL_CONFIGURE= yes
MAN3= DateTime::Format::ISO8601.3
.include "../../devel/p5-Module-Build/inc.build.mk"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if /use warnings/;' \
+ ${WRKSRC}/lib/DateTime/Format/ISO8601.pm
+.endif
+
+.include <bsd.port.post.mk>