ports/153135: [PATCH] allow net/mediatomb to work version of MySQL other than 5.0
Steve Wills
steve at mouf.net
Tue Dec 14 00:50:14 UTC 2010
>Number: 153135
>Category: ports
>Synopsis: [PATCH] allow net/mediatomb to work version of MySQL other than 5.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 14 00:50:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Steve Wills
>Release: 8.2-PRERELEASE
>Organization:
>Environment:
>Description:
The net/mediatomb port is hard coded to use MySQL 5.0. The attached patch should allow it to work with other versions. Versions 3.2.3, 4.0 and 4.1 are excluded since I'm guessing they won't work, but 5.0, 5.1, and 5.5 are allowed. Testing is needed, but I think they should work OK. This is particularly important because 5.1 is now default, so I think a lot of users will have that.
>How-To-Repeat:
>Fix:
See attached patch.
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/mediatomb/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile 29 Nov 2010 14:43:35 -0000 1.17
+++ Makefile 12 Dec 2010 18:15:17 -0000
@@ -80,7 +80,8 @@
.if defined(WITH_MYSQL)
CONFIGURE_ARGS+= --enable-mysql \
--with-mysql-cfg="${LOCALBASE}/bin/mysql_config"
-LIB_DEPENDS+= mysqlclient_r:${PORTSDIR}/databases/mysql50-client
+USE_MYSQL= yes
+IGNORE_WITH_MYSQL= 323 40 41
.else
CONFIGURE_ARGS+= --disable-mysql
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list