aboutsummaryrefslogtreecommitdiff
path: root/archivers/p5-IO-Zlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/p5-IO-Zlib/Makefile')
-rw-r--r--archivers/p5-IO-Zlib/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/archivers/p5-IO-Zlib/Makefile b/archivers/p5-IO-Zlib/Makefile
index a85f3f14a33b..325e758da29e 100644
--- a/archivers/p5-IO-Zlib/Makefile
+++ b/archivers/p5-IO-Zlib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= IO-Zlib
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= IO
@@ -15,10 +16,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= IO:: style interface to Compress::Zlib
-BUILD_DEPENDS= p5-Compress-Zlib>=2:${PORTSDIR}/archivers/p5-Compress-Zlib
-RUN_DEPENDS= p5-Compress-Zlib>=2:${PORTSDIR}/archivers/p5-Compress-Zlib
-
PERL_CONFIGURE= yes
MAN3= IO::Zlib.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+BUILD_DEPENDS= p5-IO-Compress>=2:${PORTSDIR}/archivers/p5-IO-Compress
+RUN_DEPENDS= p5-IO-Compress>=2:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>