diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 22 | ||||
-rw-r--r-- | databases/p5-DBD-mysql/distinfo | 6 |
2 files changed, 8 insertions, 20 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile index 7dda6ad7d244..ee11df9b476b 100644 --- a/databases/p5-DBD-mysql/Makefile +++ b/databases/p5-DBD-mysql/Makefile @@ -6,8 +6,7 @@ # PORTNAME= DBD-mysql -PORTVERSION= 4.0000 -PORTREVISION?= 0 +PORTVERSION= 4.001 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= DBD @@ -17,6 +16,9 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/00$//} MAINTAINER= skv@FreeBSD.org COMMENT?= MySQL driver for the Perl5 Database Interface (DBI) +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS= ${BUILD_DEPENDS} + CONFLICTS?= p5-Mysql-modules-[0-9]* p5-DBD-mysql4[0-9]-[0-9]* p5-DBD-mysql5[0-9]-[0-9]* USE_MYSQL= yes @@ -25,22 +27,8 @@ PERL_CONFIGURE= yes MAN3= Bundle::DBD::mysql.3 DBD::mysql.3 DBD::mysql::INSTALL.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 -.else -BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -.endif - post-patch: -.if ${PERL_LEVEL} < 500600 - @${PERL} -pi -e 's/(?:use|no) warnings;?//; s/our (%\w+)/use vars qw(\1);\n\1/' \ - ${WRKSRC}/lib/DBD/mysql/GetInfo.pm -.endif @${PERL} -pi -e 's/$$/ || MYSQL_VERSION_ID == 50000/ if $$. == 107' \ ${WRKSRC}/mysql.xs -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/p5-DBD-mysql/distinfo b/databases/p5-DBD-mysql/distinfo index 568f6de3ed70..3f06d97a36a0 100644 --- a/databases/p5-DBD-mysql/distinfo +++ b/databases/p5-DBD-mysql/distinfo @@ -1,3 +1,3 @@ -MD5 (DBD-mysql-4.00.tar.gz) = 9520b2194c0423a531d8fa3ad104a3e7 -SHA256 (DBD-mysql-4.00.tar.gz) = e33356959a8435789ef1891c803e18e50bb46ee23f814efd95e6ff687d695d3a -SIZE (DBD-mysql-4.00.tar.gz) = 114848 +MD5 (DBD-mysql-4.001.tar.gz) = f1c70b2760365300873ccfa59cefceb2 +SHA256 (DBD-mysql-4.001.tar.gz) = 46e95880a534fcb7428d11eacc9f5b604c131ba1e1b7e2ae1611fb3585d2d878 +SIZE (DBD-mysql-4.001.tar.gz) = 116965 |