From 475635d0194c2a685c1d35cadcad286989448b70 Mon Sep 17 00:00:00 2001 From: adamw Date: Wed, 24 Jun 2015 16:29:25 +0000 Subject: 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. --- databases/p5-DBICx-MapMaker/Makefile | 9 +++++++-- databases/p5-DBICx-TestDatabase/Makefile | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'databases') diff --git a/databases/p5-DBICx-MapMaker/Makefile b/databases/p5-DBICx-MapMaker/Makefile index 311036c532b4..8267838a9ddf 100644 --- a/databases/p5-DBICx-MapMaker/Makefile +++ b/databases/p5-DBICx-MapMaker/Makefile @@ -16,9 +16,14 @@ RUN_DEPENDS= p5-Moose>=0.39:${PORTSDIR}/devel/p5-Moose BUILD_DEPENDS= p5-DBIx-Class>=0.07003:${PORTSDIR}/databases/p5-DBIx-Class \ p5-DBICx-TestDatabase>=0.02:${PORTSDIR}/databases/p5-DBICx-TestDatabase \ p5-Moose>=0.39:${PORTSDIR}/devel/p5-Moose -TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok USES= perl5 USE_PERL5= configure -.include +.include + +.if ${PERL_LEVEL} < 502200 +TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include diff --git a/databases/p5-DBICx-TestDatabase/Makefile b/databases/p5-DBICx-TestDatabase/Makefile index 18acd6478c1f..38b160c8e1b5 100644 --- a/databases/p5-DBICx-TestDatabase/Makefile +++ b/databases/p5-DBICx-TestDatabase/Makefile @@ -21,9 +21,14 @@ BUILD_DEPENDS= p5-DBIx-Class>=0.07005:${PORTSDIR}/databases/p5-DBIx-Class \ RUN_DEPENDS= p5-DBD-SQLite>=1.12:${PORTSDIR}/databases/p5-DBD-SQLite \ p5-SQL-Translator>=0:${PORTSDIR}/databases/p5-SQL-Translator \ p5-File-Temp>0:${PORTSDIR}/devel/p5-File-Temp -TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok USES= perl5 USE_PERL5= configure -.include +.include + +.if ${PERL_LEVEL} < 502200 +TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include -- cgit