Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2013 23:50:29 +0300
From:      "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
To:        freebsd-ports@freebsd.org
Cc:        Helmut Schneider <jumper99@gmx.de>
Subject:   Re: USE_MYSQL
Message-ID:  <20130104235029.1d54791f@laptop>
In-Reply-To: <xn0icopbj7fazos003@news.gmane.org>
References:  <xn0icong54pw48000@news.gmane.org> <CADLo838hBeJPz3bA_c%2BBBApiRDPzUFSToDYhT06Ha2yGCCnhog@mail.gmail.com> <CADLo838ucDmF00UbLuocoZKkPoULu0VSwtB-3pSMv-pckViaDQ@mail.gmail.com> <20130104230442.10f2b57f@laptop> <xn0icopbj7fazos003@news.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Jan 2013 20:17:29 +0000 (UTC)
"Helmut Schneider" <jumper99@gmx.de> wrote:

> Sergey V. Dyatko wrote:
> 
> > On Fri, 4 Jan 2013 19:38:05 +0000
> > Chris Rees <utisoft@gmail.com> wrote:
> > 
> > > On 4 Jan 2013 19:06, "Helmut Schneider" <jumper99@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130104235029.1d54791f>