From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 20:15:40 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7D186B3 for ; Thu, 29 Jan 2015 20:15:40 +0000 (UTC) Received: from mail.physics.umn.edu (smtp.spa.umn.edu [128.101.220.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 855FF23F for ; Thu, 29 Jan 2015 20:15:39 +0000 (UTC) Received: from peevish.spa.umn.edu ([128.101.220.230]) by mail.physics.umn.edu with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1YGvV4-0008dI-MM; Thu, 29 Jan 2015 14:15:38 -0600 Received: by peevish.spa.umn.edu (Postfix, from userid 5000) id 9B9B84FE; Thu, 29 Jan 2015 14:15:38 -0600 (CST) Date: Thu, 29 Jan 2015 14:15:38 -0600 From: Graham Allan To: David Benfell Subject: Re: mysql dependencies, but I have mariadb Message-ID: <20150129201538.GB31947@physics.umn.edu> References: <20150129034311.GB86143@home.parts-unknown.org> <54CA5722.5000807@physics.umn.edu> <20150129194559.GC50850@home.parts-unknown.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150129194559.GC50850@home.parts-unknown.org> User-Agent: Mutt/1.5.20 (2009-12-10) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2015 20:15:40 -0000 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