ports/159539: databases/akonadi has a direct mysqld dependency

Doug Barton dougb at FreeBSD.org
Sat Aug 6 01:50:11 UTC 2011


>Number:         159539
>Category:       ports
>Synopsis:       databases/akonadi has a direct mysqld 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:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Doug Barton
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
AAAG
>Environment:
	DNA
>Description:
	This port has a direct dependency on mysql which breaks when using
	WITH_MYSQL_VER= 52. For example:

	/usr/ports/databases/akonadi (akonadi-1.6.0) Error.
	BUILD_DEPENDS /usr/ports/databases/mysql52-server -- dependency not found
	It's likely that the direct dependency is not needed at all because
	the port already has 'USE_MYSQL= server'. 
>How-To-Repeat:
	See above.
>Fix:
	The following patch should do the trick, but should be tested:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/akonadi/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile	17 Jul 2011 17:52:04 -0000	1.30
+++ Makefile	6 Aug 2011 01:37:22 -0000
@@ -19,8 +19,7 @@
 
 LIB_DEPENDS=	boost_thread:${PORTSDIR}/devel/boost-libs \
 		soprano.4:${PORTSDIR}/textproc/soprano
-BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt \
-		${LOCALBASE}/bin/mysqld_safe:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
+BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt
 RUN_DEPENDS=	${QT_PREFIX}/lib/qt4/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt4-mysql-plugin
 
 # Let process generate meaningful backtrace on core dump
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list