Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2012 12:48:33 -0500
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Michael Scheidell <scheidell@FreeBSD.org>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org, Gabor Kovesdan <gabor@FreeBSD.org>, raven428@gmail.com, cvs-ports@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/pinba_engine Makefile distinfo ports/devel/pinba_engine/files patch-src__ha_pinba.cc
Message-ID:  <4F0DCB71.3060204@FreeBSD.org>
In-Reply-To: <4F0DC833.6000705@FreeBSD.org>
References:  <201201061944.q06JiwUR048089@repoman.freebsd.org> <4F0BF9F3.40009@FreeBSD.org> <4F0C2E7C.6070802@FreeBSD.org> <4F0CC4DF.6030906@FreeBSD.org> <4F0DB4F5.7020906@FreeBSD.org> <4F0DC833.6000705@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/11/12 12:34 PM, Doug Barton wrote:
> On 1/11/2012 8:12 AM, Greg Larkin wrote:
>> On 1/10/12 6:08 PM, Doug Barton wrote:
> 
>>> The correct fix is probably to remove that line and add something like
>>> (untested):
>>
>>> .if ${MYSQL_VER} == 52
>>> MYSQL_PORTDIR=       ${PORTSDIR}/databases/mariadb-server
>>> .else
>>> MYSQL_PORTDIR=       ${PORTSDIR}/databases/mysql${MYSQL_VER}-server
>>> .endif
>>
>>> That should allow it to work with mariadb.
>>
>> Hi Doug,
>>
>> The line "${NONEXISTENT}:${MYSQL_PORTDIR}:configure" has been there
>> since the initial import,
> 
> I was only going by the latest version of 'cvs annotate,' I didn't do an
> exhaustive search. Sorry if I created confusion about when/who, etc.
> 
>> and the ":configure" portion adheres to the
>> description here:
>> http://www.freebsd.org/doc/en/books/porters-handbook/makefile-depend.html#AEN2138.
> 
> Yeah, someone clued me in about that on IRC, but thanks. Just to be
> clear, I am not concerned about how the port does its thing. My only
> concern is that it work with mariadb.
> 
>>  Can you post the errors from the INDEX build?
> 
> /usr/ports/devel/pinba_engine (pinba_engine-2011.08.18_1) Error.
> BUILD_DEPENDS /usr/ports/databases/mysql52-server -- dependency not found
> 
> But once again, that's just a symptom. If the user sets WITH_MYSQL_VER=
> 52 in their make.conf this port will not build.
> 
>> Since Pinba now supports MySQL 5.1.x+ and MariaDB 5.1.43+, the better
>> solution may be to present options to the user to select the database
>> backend,
> 
> Um, no, that's exactly what should _not_ be done. :) The ports
> infrastructure already has a method for users to select what mysql
> version they want to use. This port needs to be made to work with it.
> That's all.
> 
> Do you have a philosophical objection to the snippet I pasted in my last
> message? It's not pretty but I don't see why it wouldn't work, and
> provide minimal disruption to the way the port is structured currently.
> 

Nope, that's fine with me then.

Thank you,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/cpucycle/      - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8Ny3EACgkQ0sRouByUApBoVACgqXwzs69cpNk8QuIkA5m8Ke9e
PpsAniskohHNcOgOSaUXSAlQDL+b+p7K
=49cY
-----END PGP SIGNATURE-----



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