change installation directory of postgresql7

Ceri Davies ceri at submonkey.net
Wed Dec 1 13:58:10 PST 2004


On Wed, Dec 01, 2004 at 10:55:36PM +0100, A. Nooitgedagt wrote:
> What does it take to make port databases/postgresql7 
> install in subdirectory /usr/local/pgsql ? The port's
> default is /usr/local but postgresql's default is /usr/local/pgsql.
> 
> Is there another way than changing PREFIX in the port?
> 
> It doesn't seem to matter if I define
> CONFIGURE_ARGS+= --prefix=${PREFIX}/pgsql
> 
> I think I have tried most other possibilities,
> but I'm probably missing something

Just define PREFIX.  By default though, the binaries will go in
/usr/local/{s,}bin whilst the data directory will be /usr/local/pgsql -
I've found that this is "right" for me.

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041201/b70b8d6f/attachment.bin


More information about the freebsd-ports mailing list