On Fri, 21 Oct 2005 16:07:12 -0700, Kris Kennaway <[EMAIL PROTECTED]> 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?
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to