Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2011 02:20:48 GMT
From:      Doug Barton <dougb@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159543: www/b2evolution has a direct mysqld dependency
Message-ID:  <201108060220.p762Kmer026973@freefall.freebsd.org>
Resent-Message-ID: <201108060230.p762UGmm030868@freefall.freebsd.org>

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

>Number:         159543
>Category:       ports
>Synopsis:       www/b2evolution 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 02:30:15 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Doug Barton
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
AAAG
>Environment:
	DNA
>Description:
	The port has a direct dependency on mysqld, which causes problems
	when using WITH_MYSQL_VER= 52:

	/usr/ports/www/b2evolution (b2evolution-3.3.3) Error.
	RUN_DEPENDS /usr/ports/databases/mysql52-server -- dependency not found

>How-To-Repeat:
	See above.
>Fix:
	Apply the following patch:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/b2evolution/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	15 Aug 2010 18:12:22 -0000	1.25
+++ Makefile	6 Aug 2011 02:17:58 -0000
@@ -36,8 +36,7 @@
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_LOCAL_DB_SERVER)
-USE_MYSQL=	YES
-RUN_DEPENDS+=	mysql-server>=0:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
+USE_MYSQL=	server
 .endif
 
 pre-everything::


>Release-Note:
>Audit-Trail:
>Unformatted:



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