diff options
Diffstat (limited to 'databases/p5-DBICx-TestDatabase/Makefile')
-rw-r--r-- | databases/p5-DBICx-TestDatabase/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
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 <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> |