aboutsummaryrefslogtreecommitdiff
path: root/net/p5-SOAP-Lite-060/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-SOAP-Lite-060/Makefile')
-rw-r--r--net/p5-SOAP-Lite-060/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/p5-SOAP-Lite-060/Makefile b/net/p5-SOAP-Lite-060/Makefile
index ee4fa09a75bb..9f2934e38f8e 100644
--- a/net/p5-SOAP-Lite-060/Makefile
+++ b/net/p5-SOAP-Lite-060/Makefile
@@ -53,8 +53,14 @@ MAN3= Apache::SOAP.3 \
XMLRPC::Transport::POP3.3 \
XMLRPC::Transport::TCP.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
post-patch:
@${REINPLACE_CMD} -i '' -e 's|^#!.*perl|#!${PERL}|' \
${WRKSRC}/bin/* ${WRKSRC}/t/*
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>