Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 12:14:37 +0400 (MSD)
From:      Ilya Naumov <camel@aviaport.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53398: current www/mnogosearch port is not compatible with newer mysql clients	
Message-ID:  <20030617081437.3BF177BB7@camel.aviaport.ru>
Resent-Message-ID: <200306170820.h5H8KDjO031184@freefall.freebsd.org>

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

>Number:         53398
>Category:       ports
>Synopsis:       current www/mnogosearch port is not compatible with newer mysql clients
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 17 01:20:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ilya Naumov
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
NIIAVIA	
>Environment:
System: FreeBSD camel.aviaport.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Fri Jun 6 16:31:08 MSD 2003 root@camel.aviaport.ru:/garbage/obj/garbage/src/sys/CAMEL i386

>Description:
current www/mnogosearch port is not compatible with newer mysql clients and require older (3.23.xx) one.

>How-To-Repeat:
cd ports/www/mnogosearch
make

>Fix:
here's a patch:

--- www/mnogosearch/Makefile	Fri Mar  7 09:12:41 2003
+++ www/mnogosearch/Makefile.new	Tue Jun 17 12:03:52 2003
@@ -52,8 +52,16 @@
 CONFIGURE_ARGS+=	--with-msql=${LOCALBASE}
 
 .elif defined(WITH_MNOGO_MYSQL)
-LIB_DEPENDS=		mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-CONFIGURE_ARGS+=	--with-mysql=${LOCALBASE}
+.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
+CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
+.endif
 
 .else
 CONFIGURE_ARGS+=        --with-built-in
>Release-Note:
>Audit-Trail:
>Unformatted:



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