Date: Sun, 3 Jan 1999 13:40:09 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Greg Black <gjb@acm.org> Cc: Mike Meyer <mwm@phone.net>, questions@FreeBSD.ORG Subject: Re: /usr/local/bin [was: Re: executable scripts] Message-ID: <19990103134009.A36478@scientia.demon.co.uk> In-Reply-To: <19990103105843.6982.qmail@alice.gba.oz.au> References: <Pine.BSF.4.05.9901021754370.11212-100000@guru.phone.net> <19990103105843.6982.qmail@alice.gba.oz.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Black wrote: > Anyway, my question is: is there some way to have the ports put > into some other prefix than /usr/local so that it can be used as > expected? Or do we have to reinvent /usr/local with some less > intuitive name? $ grep /usr/local /usr/share/mk/* /usr/share/mk/bsd.port.mk:# LOCALBASE - Where non-X11 ports install things (default: /usr/local). /usr/share/mk/bsd.port.mk:LOCALBASE?= ${DESTDIR}/usr/local Changing that setting might work, you'll just have to hope nothing has /usr/local hardcoded though. Things shouldn't have. (You can also override it by adding `PREFIX=/usr/local' to the make command line when building a port. Or put PREFIX=/usr/somewhereelse in /etc/make.conf.) I haven't tested any of these, but they _should_ work. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990103134009.A36478>