From owner-freebsd-questions Sat Oct 7 15:55:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id AC2E737B66C for ; Sat, 7 Oct 2000 15:55:15 -0700 (PDT) Received: by static.unixfreak.org (Postfix, from userid 1000) id 6513A1F21; Sat, 7 Oct 2000 15:55:15 -0700 (PDT) Subject: Re: Installing a port to a differant location than the default In-Reply-To: <14815.43020.536133.284102@guru.mired.org> "from Mike Meyer at Oct 7, 2000 05:47:40 pm" To: Mike Meyer Date: Sat, 7 Oct 2000 15:55:15 -0700 (PDT) Cc: Dima Dorfman , questions@freebsd.org From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001007225515.6513A1F21@static.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Dima Dorfman writes: > > > On Sat, Oct 07, 2000 at 06:37:38AM -0700, Chip wrote: > > > > I have several hard disks in my pc, with the standard /usr on the > > > > first disk with the standard directories, but the other two disks > > > > are setup as /usr2 and /usr3. Is there a way to install a port or > > > > package into one either /usr2 or /usr3? > > > pkg_add -p or setting $PREFIX for /usr/ports. > > Or, if that doesn't work (I tried using PREFIX= some time ago but it > > didn't change the prefix), try: > > Some ports are broken, and don't honor PREFIX. Worse yet, some are > partly broken, and have some things that install in PREFIX, and some > that install in /usr/local. I don't know about PREFIX, but DESTDIR always seems to work for me. -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. Life would be much easier if we could just read the source code. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message