aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-SAP/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Net-SAP/Makefile')
-rw-r--r--net/p5-Net-SAP/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/p5-Net-SAP/Makefile b/net/p5-Net-SAP/Makefile
index ee8434d815c7..d436ad647c57 100644
--- a/net/p5-Net-SAP/Makefile
+++ b/net/p5-Net-SAP/Makefile
@@ -25,4 +25,11 @@ PERL_MODBUILD= YES
MAN1= psapd.1
MAN3= Net::SAP.3 Net::SAP::Packet.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>