diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2004-07-12 09:14:49 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2004-07-12 09:14:49 +0000 |
commit | fd5fb83dcc906454be160c0f0b3016dc50c96373 (patch) | |
tree | d0639f8b697355304529080ef581f804964cdb07 /devel/p5-Tree-Simple | |
parent | bfee00a67cd22d0ca734c947669fba38046a31d7 (diff) | |
download | ports-fd5fb83dcc906454be160c0f0b3016dc50c96373.tar.gz ports-fd5fb83dcc906454be160c0f0b3016dc50c96373.zip |
Add dependency on Test::More for ancient versions of perl
Spotted by: kris
Notes
Notes:
svn path=/head/; revision=113454
Diffstat (limited to 'devel/p5-Tree-Simple')
-rw-r--r-- | devel/p5-Tree-Simple/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-Tree-Simple/Makefile b/devel/p5-Tree-Simple/Makefile index d958307627ef..fc5a0dca7994 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 <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS+= ${BUILD_DEPENDS} +.endif + +.include <bsd.port.post.mk> |