Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 14:34:31 +0100 (CET)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48742: [Update & Fix] Port: Mysql-modules 1.2219
Message-ID:  <200302271334.h1RDYVxB086256@vaio.alexdupre.com>

next in thread | raw e-mail | index | archive | help

>Number:         48742
>Category:       ports
>Synopsis:       [Update & Fix] Port: Mysql-modules 1.2219
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 27 05:40:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD vaio.alexdupre.com 4.8-ALEXDUPRE FreeBSD 4.8-ALEXDUPRE #0: Sat Feb 22 15:23:34 CET 2003 root@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386


	
>Description:
Update to 1.2219 release.
Include support for MySQL 4.0.

Supersedes PR 45542.
	
>How-To-Repeat:
	
>Fix:

	

--- p5-Mysql.diff begins here ---
diff -ruN p5-Mysql.orig/Makefile p5-Mysql/Makefile
--- p5-Mysql.orig/Makefile	Thu Feb 27 14:01:19 2003
+++ p5-Mysql/Makefile	Thu Feb 27 14:05:53 2003
@@ -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
@@ -18,7 +18,14 @@
 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}" \
@@ -34,4 +41,4 @@
 pre-configure:
 		@${PERL} -p -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN p5-Mysql.orig/distinfo p5-Mysql/distinfo
--- p5-Mysql.orig/distinfo	Thu Feb 27 14:01:19 2003
+++ p5-Mysql/distinfo	Thu Feb 27 14:04:33 2003
@@ -1 +1 @@
-MD5 (Msql-Mysql-modules-1.2216.tar.gz) = b5f764a84c452c9f46c3f7d937798e77
+MD5 (Msql-Mysql-modules-1.2219.tar.gz) = ad3dec1881d4c4ff9a353f33ff434b5f
--- p5-Mysql.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302271334.h1RDYVxB086256>