aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-B-Hooks-OP-Check/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-B-Hooks-OP-Check/Makefile')
-rw-r--r--devel/p5-B-Hooks-OP-Check/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-B-Hooks-OP-Check/Makefile b/devel/p5-B-Hooks-OP-Check/Makefile
index b6fd676fe3dd..92bff1405944 100644
--- a/devel/p5-B-Hooks-OP-Check/Makefile
+++ b/devel/p5-B-Hooks-OP-Check/Makefile
@@ -20,4 +20,11 @@ PERL_CONFIGURE= yes
MAN3= B::Hooks::OP::Check.3
-.include <bsd.port.mk>
+.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
+
+.include <bsd.port.post.mk>