svn commit: r415833 - in head/databases: . ateam_mysql_ldap_auth ateam_mysql_ldap_auth/files
Roman Bogorodskiy
novel at FreeBSD.org
Thu May 26 04:56:10 UTC 2016
Mathieu Arnold wrote:
> +--On 25 mai 2016 14:18:57 +0000 Roman Bogorodskiy <novel at FreeBSD.org>
> wrote:
> | +RUN_DEPENDS= mysql${MYSQL_VER}-server>5.6:databases/mysql56-server
>
> This should most certainly be replaced by USES=mysql:server.
Yeah, this bit looks wrong indeed.
However, semantic of USES=mysql is not quite clear to me. USES=mysql
adds a dependency on client:
$ make -V LIB_DEPENDS -V RUN_DEPENDS
libconfig.so:devel/libconfig libmysqlclient.so.18:databases/mysql56-client libldap-2.4.so.2:net/openldap24-client
$
Changing that to mysql:server gives the following:
$ make -V LIB_DEPENDS -V RUN_DEPENDS
libconfig.so:devel/libconfig libldap-2.4.so.2:net/openldap24-client
/usr/local/libexec/mysqld:databases/mysql56-server
$
As you can see, the client dependency is gone now. Maybe I'm missing
something obvious, but how can I have both client and server
dependencies?
On a related note, I'm actually considering just dropping this
RUN_DEPENDS line entirely. Practically, it's obvious that if you're
installing a MySQL plugin for the MySQL server, you'll need the server
itself to use this plugin with.
Roman Bogorodskiy
More information about the svn-ports-head
mailing list