[kde-freebsd] Re: Ports that break with "WITH_MYSQL_VER= 52" (i.e., mariadb)

Max Brazhnikov makc at issp.ac.ru
Tue Jun 14 12:36:24 CEST 2011


On Tue, 07 Jun 2011 22:19:51 -0700, you wrote:
> Howdy,

Hi Doug,

I'll speak for databases/akonadi only.
It already uses "USE_MYSQL=	server", which brings only run dependency on 
mysql-server. However akonadi checks for mysql binary at configure stage and 
therefore I've added databases/mysql${MYSQL_VER}-server to the list of build 
dependencies.  As a temporary solution I can add "embedded" to USE_MYSQL 
instead hardcoding mysql-server port.

> Recently I split the mariadb port into -client and -server versions. My
> next step was going to be adding support for this to bsd.databases.mk,
> but it turns out that it's already there, cleverly hidden behind:
> ..if (${MYSQL_VER} == "52")
> 
> So I tested some stuff setting "WITH_MYSQL_VER= 52" in /etc/make.conf,
> including INDEX building, and I got 8 errors, in 2 categories. The first
> are ports that set a direct dependency such as this:
> RUN_DEPENDS+=
> ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
> 
> That fails when MYSQL_VER= 52 since there is no such port directory. I
> *think* (and please forgive me if I'm wrong) that these can be fixed by
> changing that dependency to:
> 
> USE_MYSQL=	server
> 
> and/or eliminating the specific dependency when that's already set. If
> I'm wrong, please feel free to suggest the correct solution. :)
> 
> The other category of problems is a direct dependency on:
> ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${
> MYSQL_VER}
> 
> As far as I can see this one can/should be solved by adding a slave port
> for databases/p5-DBD-mysql52, which I just did.
> 
> I'd really like to see mariadb become a first-class provider for mysql,
> and it seems that we're really close to making that happen.
> 
> mysql${MYSQL_VER}-server errors:
> audio/squeezeboxserver
> databases/akonadi
> games/mkgichessclub
> security/pantera
> www/b2evolution
> 
> p5-DBD-mysql52 errors:
> multimedia/zoneminder
> ports-mgmt/tinderbox
> ports-mgmt/tinderbox-devel



More information about the kde-freebsd mailing list