From owner-freebsd-questions@FreeBSD.ORG Sat Mar 30 11:40:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 665C5407 for ; Sat, 30 Mar 2013 11:40:08 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 0152EE17 for ; Sat, 30 Mar 2013 11:40:07 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id ez12so476661wid.6 for ; Sat, 30 Mar 2013 04:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=LDbI2yGYHLnm9orRVeq2p+4H55UJmKBT/RwG06aa6PQ=; b=lVJL76vkUEqw74WMOzr/ct2GJ6Ncg9ECN5QMi1P+P/rl8gE3JPAWMnZAui0ZiY73JP LLaIMfbuWInWRUJF1FUolieksdGdXH8w2xUNtIaK/h5Oc8FknEex/T1shH4m+O4Q/Ot2 bhznIrlPoL/zMPliHg1zBjl63XkjLNcjolRtlCgRkyQeLIAGLyiXsveTaT3vD4PyjiHO ihK3j7WTqxxmrzNM+nx+BVEbCBj7EA6G9+yuzQucHqRMYy4tlp5cY2AuR2lSytu2bHWV eEAucrKvXjLRBAWSlHJlJszoyt3bTn00QEyc9stfOsyg773DGxOYLV5+FhecECBqx1/r 8lFQ== X-Received: by 10.194.57.137 with SMTP id i9mr7711930wjq.18.1364643607072; Sat, 30 Mar 2013 04:40:07 -0700 (PDT) Received: from ab_laptop.perfectworld.eu (dhcp-089-099-199-083.chello.nl. [89.99.199.83]) by mx.google.com with ESMTPS id j4sm2843744wiz.10.2013.03.30.04.40.05 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 30 Mar 2013 04:40:06 -0700 (PDT) Message-ID: <5156CF14.6000208@gmail.com> Date: Sat, 30 Mar 2013 12:40:04 +0100 From: Andrei Brezan User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130321 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: databases/mysql55 to databases/mariadb References: <515442B4.1070906@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2013 11:40:08 -0000 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