From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 14 00:50:14 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17EDD1065693 for ; Tue, 14 Dec 2010 00:50:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CF03B8FC1E for ; Tue, 14 Dec 2010 00:50:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBE0oDSc068715 for ; Tue, 14 Dec 2010 00:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBE0oDYb068714; Tue, 14 Dec 2010 00:50:13 GMT (envelope-from gnats) Resent-Date: Tue, 14 Dec 2010 00:50:13 GMT Resent-Message-Id: <201012140050.oBE0oDYb068714@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steve Wills Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B16831065675 for ; Tue, 14 Dec 2010 00:49:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A04788FC29 for ; Tue, 14 Dec 2010 00:49:24 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBE0nOfb024704 for ; Tue, 14 Dec 2010 00:49:24 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oBE0nOWT024703; Tue, 14 Dec 2010 00:49:24 GMT (envelope-from nobody) Message-Id: <201012140049.oBE0nOWT024703@red.freebsd.org> Date: Tue, 14 Dec 2010 00:49:24 GMT From: Steve Wills To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153135: [PATCH] allow net/mediatomb to work version of MySQL other than 5.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2010 00:50:14 -0000 >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: