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/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/archivers/p5-IO-Zlib/Makefile b/archivers/p5-IO-Zlib/Makefile
index d88511a79c46..325e758da29e 100644
--- a/archivers/p5-IO-Zlib/Makefile
+++ b/archivers/p5-IO-Zlib/Makefile
@@ -19,4 +19,11 @@ COMMENT= IO:: style interface to 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>