From 1de997f424c5bdd6d08095541872111d8983ebd9 Mon Sep 17 00:00:00 2001 From: demon Date: Mon, 12 Jul 2004 09:14:49 +0000 Subject: Add dependency on Test::More for ancient versions of perl Spotted by: kris --- devel/p5-Tree-Simple/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/p5-Tree-Simple/Makefile b/devel/p5-Tree-Simple/Makefile index d958307627e..fc5a0dca799 100644 --- a/devel/p5-Tree-Simple/Makefile +++ b/devel/p5-Tree-Simple/Makefile @@ -19,4 +19,11 @@ PERL_CONFIGURE= yes MAN3= Tree::Simple.3 Tree::Simple::Visitor.3 -.include +.include + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS+= ${BUILD_DEPENDS} +.endif + +.include -- cgit