summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-03-24 17:44:10 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-03-24 17:44:10 +0000
commit7c630823f97ea461a85672fbb0e70b6e4666e5b1 (patch)
treeeccd26a7c5dde625cca19ecd778d517e4fad2da6 /databases
parento) Update to version 2.1.5 (diff)
Update to 1.2219 and include support for MySQL 4.0.
PR: ports/48742 Submitted by: Alex Dupre <sysadmin@alexdupre.com> Approved by: maintainer timeout (about 3weeks)
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-Mysql/Makefile11
-rw-r--r--databases/p5-Mysql/distinfo2
2 files changed, 10 insertions, 3 deletions
diff --git a/databases/p5-Mysql/Makefile b/databases/p5-Mysql/Makefile
index e1919ebf1e14..2b29b3ea0f09 100644
--- a/databases/p5-Mysql/Makefile
+++ b/databases/p5-Mysql/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Mysql-modules
-PORTVERSION= 1.2216
+PORTVERSION= 1.2219
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
@@ -19,7 +19,14 @@ COMMENT= Perl5 modules for accessing MySQL databases
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
+
+.include <bsd.port.pre.mk>
+
+.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
PERL_CONFIGURE= yes
CONFIGURE_ARGS= PREFIX=${PREFIX} CC="${CC}" CCFLAGS="${CFLAGS}" \
@@ -35,4 +42,4 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
pre-configure:
@${PERL} -p -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/p5-Mysql/distinfo b/databases/p5-Mysql/distinfo
index 06156327beaf..f1e245a94000 100644
--- a/databases/p5-Mysql/distinfo
+++ b/databases/p5-Mysql/distinfo
@@ -1 +1 @@
-MD5 (Msql-Mysql-modules-1.2216.tar.gz) = b5f764a84c452c9f46c3f7d937798e77
+MD5 (Msql-Mysql-modules-1.2219.tar.gz) = ad3dec1881d4c4ff9a353f33ff434b5f