From owner-freebsd-questions Sun Jan 3 09:16:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA14844 for freebsd-questions-outgoing; Sun, 3 Jan 1999 09:16:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA14824 for ; Sun, 3 Jan 1999 09:16:36 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.10 #3) id 0zwnlJ-0009Ul-00; Sun, 3 Jan 1999 13:40:09 +0000 Date: Sun, 3 Jan 1999 13:40:09 +0000 From: Ben Smithurst To: Greg Black Cc: Mike Meyer , questions@FreeBSD.ORG Subject: Re: /usr/local/bin [was: Re: executable scripts] Message-ID: <19990103134009.A36478@scientia.demon.co.uk> References: <19990103105843.6982.qmail@alice.gba.oz.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <19990103105843.6982.qmail@alice.gba.oz.au> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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