From dougb@FreeBSD.org  Sat Aug  6 01:40:49 2011
Return-Path: <dougb@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 70C201065679
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  6 Aug 2011 01:40:49 +0000 (UTC)
	(envelope-from dougb@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 49BF38FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  6 Aug 2011 01:40:49 +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 p761enUp089581
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 6 Aug 2011 01:40:49 GMT
	(envelope-from dougb@freefall.freebsd.org)
Received: (from dougb@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p761en4Z089570;
	Sat, 6 Aug 2011 01:40:49 GMT
	(envelope-from dougb)
Message-Id: <201108060140.p761en4Z089570@freefall.freebsd.org>
Date: Sat, 6 Aug 2011 01:40:49 GMT
From: Doug Barton <dougb@freebsd.org>
Reply-To: Doug Barton <dougb@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: databases/akonadi has a direct mysqld dependency
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         159539
>Category:       ports
>Synopsis:       databases/akonadi has a direct mysqld dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 06 01:50:10 UTC 2011
>Closed-Date:    Sat Aug 20 00:23:47 UTC 2011
>Last-Modified:  Sat Aug 20 00:23:47 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->kde 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Aug 6 01:50:21 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159539 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159539: commit references a PR
Date: Sat, 20 Aug 2011 00:09:54 +0000 (UTC)

 dougb       2011-08-20 00:09:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/akonadi    Makefile 
   Log:
   Remove direct dependency on mysqld. The port already has USE_MYSQL= server
   so there is no functional change to the dependencies.
   
   PR:             ports/159539
   Submitted by:   me
   Approved by:    maintainer timeout (14 days)
   
   Revision  Changes    Path
   1.31      +1 -2      ports/databases/akonadi/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Sat Aug 20 00:23:18 UTC 2011 
State-Changed-Why:  

Fix committed. 


Responsible-Changed-From-To: kde->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Sat Aug 20 00:23:18 UTC 2011 
Responsible-Changed-Why:  

I did the commit. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159539 
>Unformatted:
