From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 18:55:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D16D16A41F for ; Sun, 23 Oct 2005 18:55:53 +0000 (GMT) (envelope-from ross.penner@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E5B43D48 for ; Sun, 23 Oct 2005 18:55:52 +0000 (GMT) (envelope-from ross.penner@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so509429nzk for ; Sun, 23 Oct 2005 11:55:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:cc:subject:references:message-id:date:from:content-type:mime-version:content-transfer-encoding:in-reply-to:user-agent; b=q8Bp5pwNE3nJ7AWa2l+20FggDKxIKO8suAsn53m2KSQpcDQqVN18WK6N/Ob4c7Cnwi+CnwhY4jRN8kPDyl9rgucTachjkedrvLk2fh2ZZeL8q5buBIUb9Pw2NHw3C/NtszlReceoSMVZme1tu2wlNQlEJk5fSijATsNDJZUf25U= Received: by 10.36.104.11 with SMTP id b11mr384716nzc; Sun, 23 Oct 2005 11:55:52 -0700 (PDT) Received: from ross.inet ( [205.250.255.161]) by mx.gmail.com with ESMTP id 15sm3542425nzo.2005.10.23.11.55.43; Sun, 23 Oct 2005 11:55:46 -0700 (PDT) To: "Kris Kennaway" References: <200510212242.j9LMgaq2017337@clunix.cl.msu.edu> <20051021230711.GA69140@xor.obsecurity.org> Message-ID: Date: Sun, 23 Oct 2005 11:55:40 -0700 From: ross Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <20051021230711.GA69140@xor.obsecurity.org> User-Agent: Opera M2/8.50 (FreeBSD, build 1358) Cc: "freebsd-questions@freebsd.org" Subject: Re: Making ports in alternative areas 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: Sun, 23 Oct 2005 18:55:53 -0000 On Fri, 21 Oct 2005 16:07:12 -0700, Kris Kennaway wrote: > On Fri, Oct 21, 2005 at 06:42:36PM -0400, Jerry McAllister wrote: >> > >> > I'm running low on disc space on my /usr partition and I would like to >> > compile a program from the ports that is rather large. I have enough >> space >> > once it's compiled, it's just the work that I don't have enough space >> for. >> > how can I get the port to do it's work in a different area on a >> different >> > partition? >> >> Do you have enough space on another partition to move the whole >> ports tree over there? That would be nicest. But, the principle >> is the same even if you only move that directory. >> >> Make a directory in the larger partition. If it is for all of ports >> I might suggest calling it usr.ports >> Tar up the stuff you want to move. >> Unroll it in the new roomier space. >> Create a symlink to the new space. >> You can tar to a pipe and untar from that pipe, but if there is room >> I prefer to go to and from a file. It improves my confidence. > > [...] > > This is way too much work. We have environment variable to solve the > OP's problem. See make.conf(5) and ports(7). > > Kris Thanks for the solution. There is still the problem being that I, being the beginner I am, don't know how to change the enviroment variable for WRKDIRPREFIX. Think I could get a little more guidence?