summaryrefslogtreecommitdiff
path: root/print/p5-PostScript-PPD
diff options
context:
space:
mode:
Diffstat (limited to 'print/p5-PostScript-PPD')
-rw-r--r--print/p5-PostScript-PPD/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/print/p5-PostScript-PPD/Makefile b/print/p5-PostScript-PPD/Makefile
index 8fe737e60578..7ef0c4755bfb 100644
--- a/print/p5-PostScript-PPD/Makefile
+++ b/print/p5-PostScript-PPD/Makefile
@@ -18,4 +18,11 @@ PERL_CONFIGURE= yes
MAN3= PostScript::PPD.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+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>