diff options
Diffstat (limited to 'databases/p5-Class-DBI/Makefile')
-rw-r--r-- | databases/p5-Class-DBI/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/databases/p5-Class-DBI/Makefile b/databases/p5-Class-DBI/Makefile index dd011e25168c..53a66b7c9a23 100644 --- a/databases/p5-Class-DBI/Makefile +++ b/databases/p5-Class-DBI/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Class-DBI -PORTVERSION= 0.94 +PORTVERSION= 0.95 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Class @@ -34,4 +34,10 @@ post-configure: # dirty hack to deceive irritable pod2man @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again." +.endif + +.include <bsd.port.post.mk> |