aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Hash-Diff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Hash-Diff/Makefile')
-rw-r--r--devel/p5-Hash-Diff/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/p5-Hash-Diff/Makefile b/devel/p5-Hash-Diff/Makefile
index e9d2bfe53790..c9c8fa0a390a 100644
--- a/devel/p5-Hash-Diff/Makefile
+++ b/devel/p5-Hash-Diff/Makefile
@@ -14,10 +14,15 @@ COMMENT= Return the difference between two hashes as a hash
RUN_DEPENDS= p5-Hash-Merge>=0.12:${PORTSDIR}/textproc/p5-Hash-Merge
BUILD_DEPENDS= p5-Hash-Merge>=0.12:${PORTSDIR}/textproc/p5-Hash-Merge
-TEST_DEPENDS= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple \
- p5-Test-use-ok>=0.02:${PORTSDIR}/devel/p5-Test-use-ok
+TEST_DEPENDS= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
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>