aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-JSON-RPC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-JSON-RPC/Makefile')
-rw-r--r--devel/p5-JSON-RPC/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/p5-JSON-RPC/Makefile b/devel/p5-JSON-RPC/Makefile
index 4eaab338527b..f906a9ec906a 100644
--- a/devel/p5-JSON-RPC/Makefile
+++ b/devel/p5-JSON-RPC/Makefile
@@ -41,6 +41,11 @@ MAN3= JSON::RPC.3 \
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
.endif