Date: Wed, 2 Jan 2008 01:09:38 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Chad Kellerman <sunckell@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Changing work directory of port for make Message-ID: <20080102000938.GA6601@owl.midgard.homeip.net> In-Reply-To: <21bb29220801011535y30dc05d7g5e37d6182eaa4ee5@mail.gmail.com> References: <21bb29220801011535y30dc05d7g5e37d6182eaa4ee5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 01, 2008 at 06:35:43PM -0500, Chad Kellerman wrote: > Hey guys, > I installed Freebsd 7 on a Dell laptop I have. When I configured the > /usr partition I only gave it 10GB of space figuring that would be plenty. > Well now, since I don't see a pre-compiled version of OpenOffice for i386, > looks like I have to compile it myself. No big deal, except when I go to > compile it I run out of disk space on /usr. > > Is there a way I can tell make to create it's work directory someplace > else? I have more space in home, so if I make a /home/work, can I compile > OpenOffice to use the /home/work directory instead of > /usr/port/editors/openoffice.org-2? > > I tried creating a link for the work directory but that appears to be > over ridden. > Sure. Just set the WRKDIRPREFIX make variable in /etc/make.conf to point to the desired directory. This (and much else) is documented in the ports(7) manpage. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080102000938.GA6601>