Date: Thu, 26 May 2016 07:56:01 +0300 From: Roman Bogorodskiy <novel@FreeBSD.org> To: Mathieu Arnold <mat@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, ganbold@freebsd.org Subject: Re: svn commit: r415833 - in head/databases: . ateam_mysql_ldap_auth ateam_mysql_ldap_auth/files Message-ID: <20160526045559.GA97321@dev.san.ru> In-Reply-To: <A9DA5AA3CB787DD90978A93E@ogg.in.absolight.net> References: <201605251418.u4PEIvLC049487@repo.freebsd.org> <A9DA5AA3CB787DD90978A93E@ogg.in.absolight.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mathieu Arnold wrote: > +--On 25 mai 2016 14:18:57 +0000 Roman Bogorodskiy <novel@FreeBSD.org> > wrote: > | +RUN_DEPENDS=3D mysql${MYSQL_VER}-server>5.6:databases/mysql56-server >=20 > This should most certainly be replaced by USES=3Dmysql:server. Yeah, this bit looks wrong indeed. However, semantic of USES=3Dmysql is not quite clear to me. USES=3Dmysql 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.=20 Roman Bogorodskiy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160526045559.GA97321>