aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-PDF-API2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-PDF-API2/Makefile')
-rw-r--r--textproc/p5-PDF-API2/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/p5-PDF-API2/Makefile b/textproc/p5-PDF-API2/Makefile
index 36cdd108da8a..071aa2c201f0 100644
--- a/textproc/p5-PDF-API2/Makefile
+++ b/textproc/p5-PDF-API2/Makefile
@@ -62,4 +62,11 @@ MAN3= PDF::API2.3 \
PDF::API2::Resource::XObject::Image::TIFF.3 \
PDF::API2::Util.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>