aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DynaLoader-Functions/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-DynaLoader-Functions/Makefile')
-rw-r--r--devel/p5-DynaLoader-Functions/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-DynaLoader-Functions/Makefile b/devel/p5-DynaLoader-Functions/Makefile
index 36a9c4c3a557..44ab16fa28aa 100644
--- a/devel/p5-DynaLoader-Functions/Makefile
+++ b/devel/p5-DynaLoader-Functions/Makefile
@@ -21,4 +21,11 @@ PERL_CONFIGURE= yes
MAN3= DynaLoader::Functions.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>