From owner-freebsd-questions Sat Oct 7 15:47:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 292B037B503 for ; Sat, 7 Oct 2000 15:47:41 -0700 (PDT) Received: (qmail 66651 invoked by uid 100); 7 Oct 2000 22:47:40 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14815.43020.536133.284102@guru.mired.org> Date: Sat, 7 Oct 2000 17:47:40 -0500 (CDT) To: Dima Dorfman Cc: questions@freebsd.org Subject: Re: Installing a port to a differant location than the default In-Reply-To: <34179051@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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. If you run into such, please at least PR them. Including a patch in the PR would be even better.