aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Tree-Simple
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2004-07-12 17:14:49 +0800
committerdemon <demon@FreeBSD.org>2004-07-12 17:14:49 +0800
commit1de997f424c5bdd6d08095541872111d8983ebd9 (patch)
tree17ce8f239b0b0dfda81790027c7610c4682598d1 /devel/p5-Tree-Simple
parent771cca5f5214585c294984c9e4b6d9afede803b6 (diff)
downloadfreebsd-ports-gnome-1de997f424c5bdd6d08095541872111d8983ebd9.tar.gz
freebsd-ports-gnome-1de997f424c5bdd6d08095541872111d8983ebd9.tar.zst
freebsd-ports-gnome-1de997f424c5bdd6d08095541872111d8983ebd9.zip
Add dependency on Test::More for ancient versions of perl
Spotted by: kris
Diffstat (limited to 'devel/p5-Tree-Simple')
-rw-r--r--devel/p5-Tree-Simple/Makefile9
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>