aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Image-Info/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-Image-Info/Makefile')
-rw-r--r--graphics/p5-Image-Info/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/p5-Image-Info/Makefile b/graphics/p5-Image-Info/Makefile
index 15bdda07875f..41001c57c1d0 100644
--- a/graphics/p5-Image-Info/Makefile
+++ b/graphics/p5-Image-Info/Makefile
@@ -35,4 +35,11 @@ MAN3= Bundle::Image::Info::Everything.3 \
Image::Info::XBM.3 \
Image::Info::XPM.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
+BUILD_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>