ports/53398: current www/mnogosearch port is not compatible with newer mysql clients
Ilya Naumov
camel at aviaport.ru
Tue Jun 17 08:20:15 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list