Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 1999 10:42:55 -0800
From:      Matthew Hunt <mph@pobox.com>
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:  <19990103104255.A9588@wopr.caltech.edu>
In-Reply-To: <19990103105843.6982.qmail@alice.gba.oz.au>; from Greg Black on Sun, Jan 03, 1999 at 08:58:43PM %2B1000
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
On Sun, Jan 03, 1999 at 08:58:43PM +1000, 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?

Just set PREFIX to what you want (on the make(1) command line or in
the environment):

$ cd /usr/ports/foo/bar
$ make PREFIX=/opt install

(Ports are *supposed* to honor PREFIX and work properly.  If you find
that one of them breaks when you do this, please notify us so we can
fix it.)

Matthew

-- 
Matthew Hunt <mph@pobox.com> * Stay close to the Vorlon.
http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349.

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?19990103104255.A9588>