diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-04-04 05:21:36 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-04-04 05:21:36 +0000 |
commit | 03be952534daaebc3c54aec61545ba74565875b8 (patch) | |
tree | 13e8504c355a06eddc2a8779a9fca5536f7caf2f /databases/p5-DBD-mysql | |
parent | upgrate to scilab 2.7 (diff) |
o Move USE_PERL5_RUN into server part.
o Switch from p5-Mysql to p5-DBD-mysql.
o Add MySQL 4 support (and set it as default) to p5-DBD-mysql.
o Bump PORTREVISION accordingly.
PR: ports/50315
Submitted by: Alex Dupre <sysadmin@alexdupre.com> (mysql40 maintainer)
Approved by: skv (p5-DBD-myql maintainer)
Notes
Notes:
svn path=/head/; revision=78088
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile index 05615f97adb6..758841e222a1 100644 --- a/databases/p5-DBD-mysql/Makefile +++ b/databases/p5-DBD-mysql/Makefile @@ -7,6 +7,7 @@ PORTNAME= DBD-mysql PORTVERSION= 2.1026 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= DBD @@ -16,11 +17,18 @@ 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 -LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client RUN_DEPENDS= ${BUILD_DEPENDS} +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) +LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +.else +LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client +.endif + PERL_CONFIGURE= yes MAN3= Bundle::DBD::mysql.3 DBD::mysql.3 DBD::mysql::INSTALL.3 Mysql.3 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |