diff options
Diffstat (limited to 'databases/p5-Class-DBI-Lite/Makefile')
-rw-r--r-- | databases/p5-Class-DBI-Lite/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/databases/p5-Class-DBI-Lite/Makefile b/databases/p5-Class-DBI-Lite/Makefile index 2e4ccbd5aaa8..491e715d88cb 100644 --- a/databases/p5-Class-DBI-Lite/Makefile +++ b/databases/p5-Class-DBI-Lite/Makefile @@ -6,9 +6,10 @@ # PORTNAME= Class-DBI-Lite -PORTVERSION= 1.026 +PORTVERSION= 1.027 CATEGORIES= databases perl5 MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:JOHND PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org @@ -20,11 +21,13 @@ LICENSE_COMB= dual BUILD_DEPENDS= p5-Cache-Memcached>=1.27:${PORTSDIR}/databases/p5-Cache-Memcached \ p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ p5-DBIx-ContextualFetch>=0:${PORTSDIR}/databases/p5-DBIx-ContextualFetch \ - p5-Ima-DBI-Contextual>=0:${PORTSDIR}/databases/p5-Ima-DBI-Contextual \ + p5-Ima-DBI-Contextual>=1.001:${PORTSDIR}/databases/p5-Ima-DBI-Contextual \ p5-SQL-Abstract>=0:${PORTSDIR}/databases/p5-SQL-Abstract \ p5-SQL-Abstract-Limit>=0:${PORTSDIR}/databases/p5-SQL-Abstract-Limit RUN_DEPENDS:= ${BUILD_DEPENDS} -TEST_DEPENDS= p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle + +TEST_DEPENDS= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \ + p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle PERL_CONFIGURE= yes @@ -39,4 +42,10 @@ MAN3= Class::DBI::Lite.3 \ Class::DBI::Lite::TableInfo.3 \ Class::DBI::Lite::Tutorial.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.77:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |