aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-mysql
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-12-26 17:05:39 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-12-26 17:05:39 +0000
commit1a4405c8a4f7d6883867c06481f60538bb1944b3 (patch)
treebc2079e05bf0c62127449c9201b652fe39e9959d /databases/p5-DBD-mysql
parent6af6d64e7e494614a3637c5366caf0166af94d39 (diff)
downloadports-1a4405c8a4f7d6883867c06481f60538bb1944b3.tar.gz
ports-1a4405c8a4f7d6883867c06481f60538bb1944b3.zip
Notes
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r--databases/p5-DBD-mysql/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 2332c7d66719..15a4b17527c1 100644
--- a/databases/p5-DBD-mysql/Makefile
+++ b/databases/p5-DBD-mysql/Makefile
@@ -13,24 +13,18 @@ MASTER_SITE_SUBDIR= DBD
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
-COMMENT= MySQL driver for the Perl5 Database Interface (DBI)
+COMMENT?= MySQL driver for the Perl5 Database Interface (DBI)
-.include <bsd.port.pre.mk>
+CONFLICTS?= p5-Mysql-modules-* p5-DBD-mysql4[0-9]-* p5-DBD-mysql5[0-9]-*
-.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
-LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-.else
-.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
-LIB_DEPENDS= mysqlclient.14:${PORTSDIR}/databases/mysql41-client
-.else
-LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client
-.endif
-.endif
+USE_MYSQL= yes
PERL_CONFIGURE= yes
MAN3= Bundle::DBD::mysql.3 DBD::mysql.3 DBD::mysql::INSTALL.3 Mysql.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