aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-HTML5-Entities/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-HTML-HTML5-Entities/Makefile')
-rw-r--r--textproc/p5-HTML-HTML5-Entities/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/p5-HTML-HTML5-Entities/Makefile b/textproc/p5-HTML-HTML5-Entities/Makefile
index 88fd25ac87f2..7ba366603dd8 100644
--- a/textproc/p5-HTML-HTML5-Entities/Makefile
+++ b/textproc/p5-HTML-HTML5-Entities/Makefile
@@ -25,4 +25,10 @@ PERL_CONFIGURE= YES
MAN3= HTML::HTML5::Entities.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-parent>0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>