aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-mysql
diff options
context:
space:
mode:
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