diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-12-26 17:25:49 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-12-26 17:25:49 +0000 |
commit | 9b40ba5549fe85fa61293d176d4f5786305631e6 (patch) | |
tree | bed9f74471a570365e663b1ecc043df08315e679 /databases/p5-Mysql | |
parent | - Update to version netams-3.1(1770) (diff) |
add CONFLICTS, use USE_MYSQL.
PR: ports/60559
Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Notes
Notes:
svn path=/head/; revision=96636
Diffstat (limited to 'databases/p5-Mysql')
-rw-r--r-- | databases/p5-Mysql/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/databases/p5-Mysql/Makefile b/databases/p5-Mysql/Makefile index 6e36aa940b1a..48cf7587f968 100644 --- a/databases/p5-Mysql/Makefile +++ b/databases/p5-Mysql/Makefile @@ -19,13 +19,10 @@ COMMENT= Perl5 modules for accessing MySQL databases BUILD_DEPENDS= ${SITE_PERL}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable RUN_DEPENDS= ${BUILD_DEPENDS} -.include <bsd.port.pre.mk> +CONFLICTS= p5-DBD-mysql-* p5-DBD-mysql4[0-9]-* p5-DBD-mysql5[0-9]-* -.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.12) -LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client -.else -LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -.endif +USE_MYSQL= yes +DEFAULT_MYSQL_VER= 323 PERL_CONFIGURE= yes CONFIGURE_ARGS= PREFIX=${PREFIX} CC="${CC}" CCFLAGS="${CFLAGS}" \ @@ -41,6 +38,8 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} pre-configure: @${PERL} -p -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm +.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 |