USE_MYSQL
Sergey V. Dyatko
sergey.dyatko at gmail.com
Fri Jan 4 20:50:38 UTC 2013
On Fri, 4 Jan 2013 20:17:29 +0000 (UTC)
"Helmut Schneider" <jumper99 at gmx.de> wrote:
> Sergey V. Dyatko wrote:
>
> > On Fri, 4 Jan 2013 19:38:05 +0000
> > Chris Rees <utisoft at gmail.com> wrote:
> >
> > > On 4 Jan 2013 19:06, "Helmut Schneider" <jumper99 at gmx.de> wrote:
> > > >
> > > > Hi,
> > > >
> > > > what does USE_MYSQL=yes do, require mysql-server, or
> > > > mysql-client? If mysql-client, how can I depend on the server
> > > > (or v.v.)?
> > >
> > > Client. Using WANT_MYSQL_VER or IGNORE_MYSQL_VER will allow you
> > > to choose versions; see Mk/bsd.database.mk.
> > >
> > > Currently you can't depend on mysql-server; is there a reason you
> > > would want to?
> > >
> > >
> > metaport, for example.
> >
> > In that case RUN_DEPENDS his friend, I think :)
>
> Not sure. I maintain an application where you may or may not install
> mysql-server locally. I'd like to add an option (default off) to
> install mysql-server locally.
>
possible something like...
.if ${PORT_OPTIONS:MWITH_MYSQL_SERVER}
RUN_DEPENDS+=
${LOCALBASE}/bin/mysql:${PORTSDIR}/databases/mysql55-server
.endif
--
wbr, tiger
More information about the freebsd-ports
mailing list