databases/mysql55 to databases/mariadb

Andrei Brezan andrei693 at gmail.com
Sat Mar 30 11:40:08 UTC 2013


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


More information about the freebsd-questions mailing list