aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Script/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Test-Script/Makefile')
-rw-r--r--devel/p5-Test-Script/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/p5-Test-Script/Makefile b/devel/p5-Test-Script/Makefile
index 65be1cab815b..7737d07f2d66 100644
--- a/devel/p5-Test-Script/Makefile
+++ b/devel/p5-Test-Script/Makefile
@@ -17,10 +17,16 @@ COMMENT= Test::Script - Cross-platform basic tests for scripts
RUN_DEPENDS= p5-IPC-Run3>=0.034:${PORTSDIR}/devel/p5-IPC-Run3 \
p5-Probe-Perl>=0.01:${PORTSDIR}/sysutils/p5-Probe-Perl
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Test::Script.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-Test-Simple>=0.62:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>