diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-04-18 04:59:05 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-04-18 05:42:31 +0000 |
commit | 8e86a3b5fd3ac6d9a398fe99526242de67232839 (patch) | |
tree | f9a49e2d0e11190c63c8f224ec316903254e0c47 | |
parent | d3b43e48052d0df71ded0dbc0b800dde369998d1 (diff) | |
download | ports-8e86a3b5fd3ac6d9a398fe99526242de67232839.tar.gz ports-8e86a3b5fd3ac6d9a398fe99526242de67232839.zip |
devel/p5-Test2-Plugin-DBIProfile: Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
-rw-r--r-- | devel/p5-Test2-Plugin-DBIProfile/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/p5-Test2-Plugin-DBIProfile/Makefile b/devel/p5-Test2-Plugin-DBIProfile/Makefile index 5efb9c2a6f55..3e2835725b18 100644 --- a/devel/p5-Test2-Plugin-DBIProfile/Makefile +++ b/devel/p5-Test2-Plugin-DBIProfile/Makefile @@ -2,6 +2,7 @@ PORTNAME= Test2-Plugin-DBIProfile PORTVERSION= 0.002003 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:EXODIST @@ -18,10 +19,15 @@ USES= perl5 USE_PERL5= configure BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-Test-Simple>=1.302165:devel/p5-Test-Simple \ - p5-Test2-Suite>=0.000126:devel/p5-Test2-Suite +RUN_DEPENDS= p5-Test2-Suite>=0.000126:devel/p5-Test2-Suite TEST_DEPENDS= p5-DBD-SQLite>=1.44:databases/p5-DBD-SQLite NO_ARCH= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 503200 +RUN_DEPENDS+= p5-Test-Simple>=1.302165:devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |