Date: Sat, 30 Mar 2013 12:40:04 +0100 From: Andrei Brezan <andrei693@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: databases/mysql55 to databases/mariadb Message-ID: <5156CF14.6000208@gmail.com> In-Reply-To: <kj20pe$9k3$1@ger.gmane.org> References: <515442B4.1070906@gmail.com> <kj20pe$9k3$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/28/13 19:05, Michael Powell wrote: > Andrei Brezan wrote: > >> Hello list, >> >> Is there a make.conf option that I can use to replace >> mysql55-[server,client] with mariadb55-[server,client] or i need to use >> for example pkg set -o >> databases/mysql55-client:databases/mariadb55-client? >> >> What happens if I want to use one port with mysql dependency and another >> one with mariadb as dependency? This is just a theoretical question, I >> don't have such a requirement, yet. >> >> All this is on 9.1-RELEASE but I think applies to different versions too. >> > > Look at: /usr/ports/Mk/bsd.database.mk I only perused it briefly, but I > think you want something such as MYSQL_VER=55m. The 'm', or 'p' suffix > switches to either MariaDB or PostgreSQL if I understand correctly. > > At any rate, this is the file that controls this. If it doesn't work > (possibly I've got it wrong), I'd suggest a PR to get it added in. > > -Mike > Hi Mike, Why I'm trying to put this in make.conf is for poudriere to build a local repo. It seems that I needed to add WITH_MYSQL_VER=55m for eg security/amavisd-new to grab maria instead of my. Also what i've noticed is that 'p' as a suffix is for percona. Thanks for the tip, Andrei
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5156CF14.6000208>