Date: Thu, 29 Jan 2015 14:15:38 -0600 From: Graham Allan <allan@physics.umn.edu> To: David Benfell <benfell@parts-unknown.org> Cc: freebsd-questions@freebsd.org Subject: Re: mysql dependencies, but I have mariadb Message-ID: <20150129201538.GB31947@physics.umn.edu> In-Reply-To: <20150129194559.GC50850@home.parts-unknown.org> References: <20150129034311.GB86143@home.parts-unknown.org> <54CA5722.5000807@physics.umn.edu> <20150129194559.GC50850@home.parts-unknown.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 29, 2015 at 11:45:59AM -0800, David Benfell wrote: > On Thu, Jan 29, 2015 at 09:52:02AM -0600, Graham Allan wrote: > > I don't have any definitive answer for you but I *believe* you want to > > set something like: > > > > USE_MYSQL_VER=55m > > > > where the "m" signifies to use the mariadb variant... > > Oh, how embarassing. The line was sitting right there in my > /etc/make.conf. I didn't notice it. Apparently, what I want is: > > WANT_MYSQL_VER=55m # 55m for MariaDB, 55p for Percona Just to throw in a third variant I checked our tinderbox env, and what I actually have there is: WITH_MYSQL_VER=55m which did work correctly last time I built everything. Now I find my tinderbox notes, they say something to the effect "USE_*, WANT_*, and HAVE_* macros must NEVER be passed in make.conf, in the environment, or on the make command line." I wish I could give you a reference for that; I'm pretty sure I didn't make it up :-) Oh, there's some reference to this in /usr/ports/Mk/bsd.port.mk: # Note: the distinction between the USE_* and WANT_* variables, and the # WITH_* and WITHOUT_* variables, are that the former are restricted to # usage inside the ports framework, and the latter are reserved for user- # settable options. (Setting USE_* in /etc/make.conf is always wrong). and also some useful bits in /usr/ports/Mk/bsd.database.mk Glad I found that again, I'd forgotten why we did it this way! Graham
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150129201538.GB31947>