aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Pod-Simple/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-Pod-Simple/Makefile')
-rw-r--r--textproc/p5-Pod-Simple/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/p5-Pod-Simple/Makefile b/textproc/p5-Pod-Simple/Makefile
index 0ef96247f1f6..565c181943a4 100644
--- a/textproc/p5-Pod-Simple/Makefile
+++ b/textproc/p5-Pod-Simple/Makefile
@@ -44,4 +44,11 @@ MAN3= Pod::Simple.3 \
Pod::Simple::XHTML.3 \
Pod::Simple::XMLOutStream.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS= p5-Pod-Escapes>=1.04:${PORTSDIR}/textproc/p5-Pod-Escapes
+BUILD_DEPENDS= p5-Pod-Escapes>=1.04:${PORTSDIR}/textproc/p5-Pod-Escapes
+.endif
+
+.include <bsd.port.post.mk>