aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-mysql
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-12-27 01:05:39 +0800
committernork <nork@FreeBSD.org>2003-12-27 01:05:39 +0800
commit2a7717dd287788e2cb9d5fe55731a25eed06fb3f (patch)
treeef7c61ce4d51513da545ebd9812f942856c0cc11 /databases/p5-DBD-mysql
parent5fcca29682b351c75c612f6a9732cf57c482ca2c (diff)
downloadfreebsd-ports-gnome-2a7717dd287788e2cb9d5fe55731a25eed06fb3f.tar.gz
freebsd-ports-gnome-2a7717dd287788e2cb9d5fe55731a25eed06fb3f.tar.zst
freebsd-ports-gnome-2a7717dd287788e2cb9d5fe55731a25eed06fb3f.zip
add CONFLICTS, make a MASTER port, use USE_MYSQL.
PR: ports/60559 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
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