aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Parse-RecDescent/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Parse-RecDescent/Makefile')
-rw-r--r--devel/p5-Parse-RecDescent/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/p5-Parse-RecDescent/Makefile b/devel/p5-Parse-RecDescent/Makefile
index 57c0697a8692..1a76379a5c62 100644
--- a/devel/p5-Parse-RecDescent/Makefile
+++ b/devel/p5-Parse-RecDescent/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Parse-RecDescent
PORTVERSION= 1.96.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/D/DC/DCONWAY
@@ -30,6 +30,10 @@ post-install:
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500900
+RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced
.endif