aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-Parse-Perl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/p5-Parse-Perl')
-rw-r--r--lang/p5-Parse-Perl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/p5-Parse-Perl/Makefile b/lang/p5-Parse-Perl/Makefile
index a78e45ca6316..fd01fcc77d7b 100644
--- a/lang/p5-Parse-Perl/Makefile
+++ b/lang/p5-Parse-Perl/Makefile
@@ -27,4 +27,10 @@ MAN3= Parse::Perl.3 \
Parse::Perl::CopHintsHash.3 \
Parse::Perl::Environment.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>