aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Parse-RecDescent
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2008-11-28 10:08:52 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2008-11-28 10:08:52 +0000
commit3d17fc0f294064bd57efa7bef32ef5e72e453475 (patch)
tree28f589507261ac268ae75ae2c56376bc621ab468 /devel/p5-Parse-RecDescent
parent02319fd54869eb46e4dee818b6dbcbfbb27be838 (diff)
downloadports-3d17fc0f294064bd57efa7bef32ef5e72e453475.tar.gz
ports-3d17fc0f294064bd57efa7bef32ef5e72e453475.zip
Fix RUN_DEPENDS.
Approved by: tobez (maintainer)
Notes
Notes: svn path=/head/; revision=223486
Diffstat (limited to 'devel/p5-Parse-RecDescent')
-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