diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-DateTime-Format-ISO8601/Makefile | 13 | ||||
-rw-r--r-- | devel/p5-DateTime-Format-ISO8601/distinfo | 2 |
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 |