aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Pod-ProjectDocs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-Pod-ProjectDocs/Makefile')
-rw-r--r--textproc/p5-Pod-ProjectDocs/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/p5-Pod-ProjectDocs/Makefile b/textproc/p5-Pod-ProjectDocs/Makefile
index 4c3872f3afc3..5f51dff467a9 100644
--- a/textproc/p5-Pod-ProjectDocs/Makefile
+++ b/textproc/p5-Pod-ProjectDocs/Makefile
@@ -32,4 +32,11 @@ PERL_CONFIGURE= yes
MAN1= pod2projdocs.1
MAN3= Pod::ProjectDocs.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-Pod-Parser>=1.32:${PORTSDIR}/textproc/p5-Pod-Parser
+RUN_DEPENDS+= p5-Pod-Parser>=1.32:${PORTSDIR}/textproc/p5-Pod-Parser
+.endif
+
+.include <bsd.port.post.mk>