Changing work directory of port for make

Chad Kellerman sunckell at gmail.com
Wed Jan 2 04:56:20 PST 2008


Yeah, Freebsd documents much better than most Unix's....... if you know
where to look.  I read through the make man pages a hundred times thinking I
missed something in there.


Thanks for the help...

Chad

On Jan 1, 2008 7:09 PM, Erik Trulsson <ertr1013 at student.uu.se> wrote:

> 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 at student.uu.se
>


More information about the freebsd-questions mailing list