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 2011年6月27日 02:53:02 +0900, David Brownlee <abs%absd.org@localhost>
wrote:
I've seen (and am quitre possibly about to copy) the following idiom a
few times:
.include "../../mk/mysql.buildlink3.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
.else
DEPENDS+= mysql-server-[0-9]*:../../databases/mysql5-server
.endif
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 / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index