From owner-freebsd-questions@FreeBSD.ORG Thu Mar 28 18:06:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0545A6A6 for ; Thu, 28 Mar 2013 18:06:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id B9FB89B6 for ; Thu, 28 Mar 2013 18:06:07 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ULHDX-0008BK-0t for freebsd-questions@freebsd.org; Thu, 28 Mar 2013 19:06:27 +0100 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Mar 2013 19:06:27 +0100 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Mar 2013 19:06:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: databases/mysql55 to databases/mariadb Date: Thu, 28 Mar 2013 14:05:36 -0400 Lines: 27 Message-ID: References: <515442B4.1070906@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 18:06:08 -0000 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