From owner-freebsd-questions Sun Jan 3 10:43:26 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA23293 for freebsd-questions-outgoing; Sun, 3 Jan 1999 10:43:26 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.240.222]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA23288 for ; Sun, 3 Jan 1999 10:43:25 -0800 (PST) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.1/8.9.1) id KAA09656; Sun, 3 Jan 1999 10:42:55 -0800 (PST) (envelope-from mph) Date: Sun, 3 Jan 1999 10:42:55 -0800 From: Matthew Hunt To: Greg Black Cc: Mike Meyer , questions@FreeBSD.ORG Subject: Re: /usr/local/bin [was: Re: executable scripts] Message-ID: <19990103104255.A9588@wopr.caltech.edu> 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>; from Greg Black on Sun, Jan 03, 1999 at 08:58:43PM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 * 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