tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: _MYSQL_VERSION and supporting multiple mysql versions

On Mon, 27 Jun 2011 02:53:02 +0900, David Brownlee <> 

I've seen (and am quitre possibly about to copy) the following idiom a
few times:

.include "../../mk/"
.if ${_MYSQL_VERSION} == "55"
DEPENDS+=       mysql-server-[0-9]*:../../databases/mysql55-server
.elif ${_MYSQL_VERSION} == "51"
DEPENDS+=       mysql-server-[0-9]*:../../databases/mysql51-server
DEPENDS+=       mysql-server-[0-9]*:../../databases/mysql5-server

Should this be abstracted out, similar to way version of packages such
as python are handled?

Why it require that MySQL server is on same machine?

OBATA Akio /

Home | Main Index | Thread Index | Old Index