Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 13:32:58 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        VeeJay <maanjee@gmail.com>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: Please help*
Message-ID:  <DF9C05C9-78F9-455F-9EF4-07B33542363F@mac.com>
In-Reply-To: <2cd0a0da0612131256p5e2db7dan9406c693d42ad93c@mail.gmail.com>
References:  <2cd0a0da0612131256p5e2db7dan9406c693d42ad93c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF9C05C9-78F9-455F-9EF4-07B33542363F>