aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-ISO8601
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
parent982257a820bb49e0a652e104b4c287dae48c5299 (diff)
downloadports-bebd612484e36760b300721dbfbfea1fdbee20ab.tar.gz
ports-bebd612484e36760b300721dbfbfea1fdbee20ab.zip
Notes
Diffstat (limited to 'devel/p5-DateTime-Format-ISO8601')
-rw-r--r--devel/p5-DateTime-Format-ISO8601/Makefile13
-rw-r--r--devel/p5-DateTime-Format-ISO8601/distinfo2
2 files changed, 11 insertions, 4 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>
diff --git a/devel/p5-DateTime-Format-ISO8601/distinfo b/devel/p5-DateTime-Format-ISO8601/distinfo
index efae74986d29..cb5de96168c7 100644
--- a/devel/p5-DateTime-Format-ISO8601/distinfo
+++ b/devel/p5-DateTime-Format-ISO8601/distinfo
@@ -1 +1 @@
-MD5 (DateTime-Format-ISO8601-0.03.tar.gz) = 6de667549dc56f65978b53fd2fff84a2
+MD5 (DateTime-Format-ISO8601-0.04.tar.gz) = 7fce7234dbc005c4937b60358eda6457