Date: Sat, 7 Oct 2000 14:21:02 -0700 (PDT) From: Dima Dorfman <dima@unixfreak.org> To: Volker Stolz <stolz@I2.Informatik.RWTH-Aachen.DE> Cc: Chip <chip@wiegand.org>, "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG>, "seafug@dub.net" <seafug@dub.net> Subject: Re: Installing a port to a differant location than the default Message-ID: <20001007212102.D4ADD1F21@static.unixfreak.org> In-Reply-To: <20001007165723.A10117@agamemnon.informatik.rwth-aachen.de> "from Volker Stolz at Oct 7, 2000 04:57:23 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <prefix> 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: cd /usr/ports/<category>/<port> make DESTDIR=/usr2 install This will create /usr2/bin, /usr2/sbin, /usr2/share, etc. and whatever else the port requires (basically, it will create the same directory tree as you see in /us/rlocal). Hope this helps -- Dima Dorfman <dima@unixfreak.org> Finger dima@unixfreak.org for my public PGP key. If two wrongs don't make a right, try three! 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?20001007212102.D4ADD1F21>