Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2011 02:08:56 GMT
From:      Doug Barton <dougb@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159541: games/mkgichessclub has a direct mysqld dependency
Message-ID:  <201108060208.p7628uLm011910@freefall.freebsd.org>
Resent-Message-ID: <201108060210.p762A6eI011969@freefall.freebsd.org>

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

>Number:         159541
>Category:       ports
>Synopsis:       games/mkgichessclub 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:10:06 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/games/mkgichessclub (mkgichessclub-2.2.0) Error.
	RUN_DEPENDS /usr/ports/databases/mysql52-server -- dependency not found
>How-To-Repeat:
	See above.
>Fix:
	Apply the following patch. It accomplishes the same goal as
	mysql-server>=4 by using IGNORE_WITH_MYSQL

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/mkgichessclub/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	7 Dec 2008 17:13:03 -0000	1.2
+++ Makefile	6 Aug 2011 02:02:06 -0000
@@ -15,8 +15,6 @@
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	A chess playing server with a pure web interface
 
-RUN_DEPENDS=	mysql-server>=4:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
-
 OPTIONS=	GNUCHESS "Install gnuchess robot" on \
 		PHALANX	"Install phalanx robot" on
 
@@ -24,7 +22,8 @@
 
 SUB_FILES=	pkg-message
 
-USE_MYSQL=	yes
+USE_MYSQL=	server
+IGNORE_WITH_MYSQL=	323
 USE_PHP=	mysql pcre session
 USE_PYTHON=	yes
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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