aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-03-25 01:44:10 +0800
committernork <nork@FreeBSD.org>2003-03-25 01:44:10 +0800
commit1a72ae64316df98e16ae1181ec42d12fa3f47c13 (patch)
treee51b4361da5a775541ef70f975636440a25a0e50
parent934fd0c245bdddbacfb6455118fa10b63520d1c5 (diff)
downloadfreebsd-ports-gnome-1a72ae64316df98e16ae1181ec42d12fa3f47c13.tar.gz
freebsd-ports-gnome-1a72ae64316df98e16ae1181ec42d12fa3f47c13.tar.zst
freebsd-ports-gnome-1a72ae64316df98e16ae1181ec42d12fa3f47c13.zip
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)
-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