ports/159538: audio/squeezeboxserver has a direct mysql dependency

Doug Barton dougb at FreeBSD.org
Sat Aug 6 01:40:10 UTC 2011


>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:



More information about the freebsd-ports-bugs mailing list