aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Check-ISA
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2015-06-25 00:29:25 +0800
committeradamw <adamw@FreeBSD.org>2015-06-25 00:29:25 +0800
commit475635d0194c2a685c1d35cadcad286989448b70 (patch)
treee6273a1c16a31c1f575721d9eb86248e44b517d3 /devel/p5-Check-ISA
parenteda6af329925c510247b9af3b5b93dd8e3d6ed42 (diff)
downloadfreebsd-ports-gnome-475635d0194c2a685c1d35cadcad286989448b70.tar.gz
freebsd-ports-gnome-475635d0194c2a685c1d35cadcad286989448b70.tar.zst
freebsd-ports-gnome-475635d0194c2a685c1d35cadcad286989448b70.zip
Convert all p5-Test-use-ok dependencies to p5-Test-Simple, but only on
perl < 5.22. For www/p5-Catalyst-Controller-BindLex, change it from a BUILD/RUN depend to TEST, as it is only used for the test target, and bump PORTREVISION on that port.
Diffstat (limited to 'devel/p5-Check-ISA')
-rw-r--r--devel/p5-Check-ISA/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/p5-Check-ISA/Makefile b/devel/p5-Check-ISA/Makefile
index 47bbed3c1bf1..9c0fa88887d8 100644
--- a/devel/p5-Check-ISA/Makefile
+++ b/devel/p5-Check-ISA/Makefile
@@ -14,9 +14,14 @@ COMMENT= DWIM, correct checking of an object's class
RUN_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
BUILD_DEPENDS:= ${RUN_DEPENDS}
-TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>