aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Spec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Test-Spec/Makefile')
-rw-r--r--devel/p5-Test-Spec/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-Test-Spec/Makefile b/devel/p5-Test-Spec/Makefile
index 8777a6b0dc98..b8f72f40bf18 100644
--- a/devel/p5-Test-Spec/Makefile
+++ b/devel/p5-Test-Spec/Makefile
@@ -28,4 +28,10 @@ PERL_CONFIGURE= yes
MAN3= Test::Spec.3 \
Test::Spec::Mocks.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= Test-Harness>=0:${PORTSDIR}/devel/p5-Test-Harness
+.endif
+
+.include <bsd.port.post.mk>