From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 00:09:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 337EF16A419 for ; Wed, 2 Jan 2008 00:09:46 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id E0AC013C46E for ; Wed, 2 Jan 2008 00:09:45 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:50072 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1J9rAz-0002lt-3F for freebsd-questions@freebsd.org; Wed, 02 Jan 2008 01:09:45 +0100 Received: (qmail 32813 invoked from network); 2 Jan 2008 01:09:38 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 2 Jan 2008 01:09:38 +0100 Received: (qmail 6643 invoked by uid 1001); 2 Jan 2008 01:09:38 +0100 Date: Wed, 2 Jan 2008 01:09:38 +0100 From: Erik Trulsson To: Chad Kellerman Message-ID: <20080102000938.GA6601@owl.midgard.homeip.net> Mail-Followup-To: Chad Kellerman , freebsd-questions@freebsd.org References: <21bb29220801011535y30dc05d7g5e37d6182eaa4ee5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21bb29220801011535y30dc05d7g5e37d6182eaa4ee5@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1J9rAz-0002lt-3F. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1J9rAz-0002lt-3F 673e26a1f6810bf38990dfcc24a2afd5 Cc: freebsd-questions@freebsd.org Subject: Re: Changing work directory of port for make X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 00:09:46 -0000 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. -- Erik Trulsson ertr1013@student.uu.se