diff options
author | demon <demon@FreeBSD.org> | 2004-07-12 17:14:49 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2004-07-12 17:14:49 +0800 |
commit | 1de997f424c5bdd6d08095541872111d8983ebd9 (patch) | |
tree | 17ce8f239b0b0dfda81790027c7610c4682598d1 /devel | |
parent | 771cca5f5214585c294984c9e4b6d9afede803b6 (diff) | |
download | freebsd-ports-graphics-1de997f424c5bdd6d08095541872111d8983ebd9.tar.gz freebsd-ports-graphics-1de997f424c5bdd6d08095541872111d8983ebd9.tar.zst freebsd-ports-graphics-1de997f424c5bdd6d08095541872111d8983ebd9.zip |
Add dependency on Test::More for ancient versions of perl
Spotted by: kris
Diffstat (limited to 'devel')
-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 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 <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> |