From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 4 13:30:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2D48FC60 for ; Wed, 4 Sep 2013 13:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1B1D42433 for ; Wed, 4 Sep 2013 13:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r84DU1Sp072145 for ; Wed, 4 Sep 2013 13:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r84DU1cd072144; Wed, 4 Sep 2013 13:30:01 GMT (envelope-from gnats) Date: Wed, 4 Sep 2013 13:30:01 GMT Message-Id: <201309041330.r84DU1cd072144@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Spil Oss Subject: Re: ports/181798: Ports specifying WANT_MYSQL_VER failing with MariaDB X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Spil Oss List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Sep 2013 13:30:02 -0000 The following reply was made to PR ports/181798; it has been noted by GNATS. From: Spil Oss To: bug-followup@FreeBSD.org, spil oss Cc: Subject: Re: ports/181798: Ports specifying WANT_MYSQL_VER failing with MariaDB Date: Wed, 4 Sep 2013 15:25:25 +0200 Meanwhile I've created a patch that works for me (tested with mail/dspam and databases/p5-DBD-mysql) ==== BEGIN PATCH --- bsd.database.mk.orig 2013-08-05 21:43:39.000000000 +0200 +++ bsd.database.mk 2013-09-04 15:22:30.070278068 +0200 @@ -132,7 +132,13 @@ .if defined(WITH_MYSQL_VER) && ${WITH_MYSQL_VER} != ${WANT_MYSQL_VER} IGNORE= cannot install: the port wants mysql${WANT_MYSQL_VER}-client and you try to install mysql${WITH_MYSQL_VER}-client .endif -MYSQL_VER= ${WANT_MYSQL_VER} +.if ${_PERCONA} == 1 +MYSQL_VER= ${WANT_MYSQL_VER}p +.elif ${_MARIADB} == 1 +MYSQL_VER= ${WANT_MYSQL_VER}m +.else +MYSQL_VER= ${WANT_MYSQL_VER} +.endif .elif defined(WITH_MYSQL_VER) MYSQL_VER= ${WITH_MYSQL_VER} .else ==== END PATCH