diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2007-02-06 18:32:16 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2007-02-06 18:32:16 +0000 |
commit | d4c0c0970fe9c52e6638d6c30549e34f6bab17e1 (patch) | |
tree | 4408ec7e036cfadd536fa6024e61609df686daf4 /databases/p5-DBD-mysql/Makefile | |
parent | 32056f84443b5a1250f23789442665c9b2e52a92 (diff) |
Notes
Diffstat (limited to 'databases/p5-DBD-mysql/Makefile')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 22 |
1 files changed, 5 insertions, 17 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> |