aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/p5-String-Errf/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-String-Errf/Makefile b/devel/p5-String-Errf/Makefile
index 6bfdd7a60226..e01d9666ce3d 100644
--- a/devel/p5-String-Errf/Makefile
+++ b/devel/p5-String-Errf/Makefile
@@ -26,4 +26,10 @@ PERL_CONFIGURE= yes
MAN3= String::Errf.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>