aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/perl5.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/perl5.mk')
-rw-r--r--Mk/Uses/perl5.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 725f64b9c55d..ac79b7a6a3f8 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -167,6 +167,13 @@ IGNORE= has unknown USE_PERL5 components: ${_USE_PERL5_UNKNOWN}
. endif
_USES_POST+= perl5
+
+. if ${PERL_LEVEL} >= 503100
+P5_POD_PARSER= p5-Pod-Parser>=0:textproc/p5-Pod-Parser
+. else
+P5_POD_PARSER=
+. endif
+
.endif
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_PERL5_POST_MK)