From owner-freebsd-questions@FreeBSD.ORG Wed Dec 13 21:33:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87AE516A403 for ; Wed, 13 Dec 2006 21:33:04 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34F2A43CA6 for ; Wed, 13 Dec 2006 21:31:33 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin05-en2 [10.13.10.150]) by smtpout.mac.com (Xserve/8.12.11/smtpout12/MantshX 4.0) with ESMTP id kBDLX1EL003681; Wed, 13 Dec 2006 13:33:01 -0800 (PST) Received: from [17.214.13.96] (a17-214-13-96.apple.com [17.214.13.96]) (authenticated bits=0) by mac.com (Xserve/smtpin05/MantshX 4.0) with ESMTP id kBDLWxxI021798; Wed, 13 Dec 2006 13:33:00 -0800 (PST) In-Reply-To: <2cd0a0da0612131256p5e2db7dan9406c693d42ad93c@mail.gmail.com> References: <2cd0a0da0612131256p5e2db7dan9406c693d42ad93c@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 13 Dec 2006 13:32:58 -0800 To: VeeJay X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: FreeBSD-Questions Subject: Re: Please help* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 21:33:04 -0000 On Dec 13, 2006, at 12:56 PM, VeeJay wrote: > I want to install MySQL5.0 at my FreeBSD 6.1 box with following > configurations: > > --prefix=/usr/local/mysql > --with-mysqld-user=mysql > --with-unix-socket-path=/tmp/mysql.sock > --with-mysqld-ldflags=-all-static > > How and at What place, can I configure the Makefile under > /usr/ports/databases/mysql50-server/ > to have MySQL server working with above mentioned configurations? See CONFIGURE_ARGS in /usr/ports/databases/mysql50-server/Makefile. Note that the $PREFIX is already configured pretty much right already, and that mysql will run as a "mysql" user, and that putting the MySQL socket under /tmp is already done for you. I'm not sure why you want to statically link MySQL, but if you really want to do so, that would be the only argument likely worth changing in the port's Makefile.... -- -Chuck