USE_MYSQL
Sergey V. Dyatko
tiger at agava.com
Fri Jan 4 21:03:29 UTC 2013
On Fri, 4 Jan 2013 23:50:29 +0300
"Sergey V. Dyatko" <sergey.dyatko at gmail.com> wrote:
> 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...
>
>
> RUN_DEPENDS+=
> ${LOCALBASE}/bin/mysql:${PORTSDIR}/databases/mysql55-server
> .endif
>
>
hm... error ^^^^^.. s/bin/libexec/ and should be something like this:
.if ${PORT_OPTIONS:MWITH_MYSQL_SERVER}
USE_MYSQL= server
.endif
--
wbr, tiger
More information about the freebsd-ports
mailing list