aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Check-ISA/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Check-ISA/Makefile')
-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>