Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2011 01:35:06 GMT
From:      Doug Barton <dougb@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159538: audio/squeezeboxserver has a direct mysql dependency
Message-ID:  <201108060135.p761Z6o0085112@freefall.freebsd.org>
Resent-Message-ID: <201108060140.p761e9tB085396@freefall.freebsd.org>

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

>Number:         159538
>Category:       ports
>Synopsis:       audio/squeezeboxserver has a direct mysql dependency
>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:   Sat Aug 06 01:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Doug Barton
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
AAAG
>Environment:
	DNA
>Description:
	When using WITH_MYSQL_VER= 52 this port fails because of the direct
	dependency on mysqld. For example:

	/usr/ports/audio/squeezeboxserver (squeezeboxserver-7.5.4) Error.
	RUN_DEPENDS /usr/ports/databases/mysql52-server -- dependency not found

>How-To-Repeat:
	See above.
>Fix:
	The following patch should do the trick, but should be tested:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/squeezeboxserver/Makefile,v
retrieving revision 1.81
diff -u -r1.81 Makefile
--- Makefile	9 Jul 2011 17:44:14 -0000	1.81
+++ Makefile	6 Aug 2011 01:31:00 -0000
@@ -60,13 +60,9 @@
 RUN_DEPENDS+=	p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
 .endif
 
-USE_MYSQL=	yes
+USE_MYSQL=	server
 IGNORE_WITH_MYSQL=	323 40
 
-# We need a dependency on the server because squeezecenter runs the binary
-# directly with a non-standard config.
-RUN_DEPENDS+=	${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
-
 .if !defined(WITHOUT_APE)
 RUN_DEPENDS+=	mac:${PORTSDIR}/audio/mac
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted:



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