aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-Random-Source
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2015-06-24 16:29:25 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2015-06-24 16:29:25 +0000
commitbd48f3018817b3e74bc4dc371e6a072649b0abbf (patch)
treee6273a1c16a31c1f575721d9eb86248e44b517d3 /security/p5-Crypt-Random-Source
parent3a660746f7cc25b8eec1756e4c88d9b71da0da3c (diff)
downloadports-bd48f3018817b3e74bc4dc371e6a072649b0abbf.tar.gz
ports-bd48f3018817b3e74bc4dc371e6a072649b0abbf.zip
Convert all p5-Test-use-ok dependencies to p5-Test-Simple, but only on
perl < 5.22. For www/p5-Catalyst-Controller-BindLex, change it from a BUILD/RUN depend to TEST, as it is only used for the test target, and bump PORTREVISION on that port.
Notes
Notes: svn path=/head/; revision=390494
Diffstat (limited to 'security/p5-Crypt-Random-Source')
-rw-r--r--security/p5-Crypt-Random-Source/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/security/p5-Crypt-Random-Source/Makefile b/security/p5-Crypt-Random-Source/Makefile
index 1893c94546f9..9ee920eb377f 100644
--- a/security/p5-Crypt-Random-Source/Makefile
+++ b/security/p5-Crypt-Random-Source/Makefile
@@ -18,10 +18,15 @@ BUILD_DEPENDS= p5-Any-Moose>=0.11:${PORTSDIR}/devel/p5-Any-Moose \
p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \
p5-namespace-clean>=0.08:${PORTSDIR}/devel/p5-namespace-clean
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception \
- p5-Test-use-ok>0:${PORTSDIR}/devel/p5-Test-use-ok
+TEST_DEPENDS= p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception
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>