Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2005 11:55:40 -0700
From:      ross <ross.penner@gmail.com>
To:        "Kris Kennaway" <kris@obsecurity.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Making ports in alternative areas
Message-ID:  <op.sy3362knw0tva9@ross.inet>
In-Reply-To: <20051021230711.GA69140@xor.obsecurity.org>
References:  <op.sy0mtup3w0tva9@ross.inet> <200510212242.j9LMgaq2017337@clunix.cl.msu.edu> <20051021230711.GA69140@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Oct 2005 16:07:12 -0700, Kris Kennaway <kris@obsecurity.org>  
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.sy3362knw0tva9>