aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-HTTP/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-DateTime-Format-HTTP/Makefile')
-rw-r--r--devel/p5-DateTime-Format-HTTP/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/devel/p5-DateTime-Format-HTTP/Makefile b/devel/p5-DateTime-Format-HTTP/Makefile
index 0fe946321a6a..674022908ad7 100644
--- a/devel/p5-DateTime-Format-HTTP/Makefile
+++ b/devel/p5-DateTime-Format-HTTP/Makefile
@@ -7,6 +7,7 @@
PORTNAME= DateTime-Format-HTTP
PORTVERSION= 0.36
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
@@ -18,6 +19,7 @@ COMMENT= HTTP date conversion routines
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
${SITE_PERL}/HTTP/Date.pm:${PORTSDIR}/www/p5-libwww
PERL_MODBUILD= yes
@@ -26,9 +28,6 @@ MAN3= DateTime::Format::HTTP.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} <= 500600
-RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-.endif
.if ${PERL_LEVEL} < 500600
post-patch:
@${PERL} -pi -e '$$_ = "" if /use warnings/;' \