Subject: Re: External build of huge package
To: Jeremy C. Reed <reed@reedmedia.net>
From: Asmodehn Shade <asmodehn@9online.fr>
List: netbsd-users
Date: 09/20/2004 23:03:24
Thank you very much, it seems to work well, as expected ;)
I did it like that, because this is only for one package :
env WRKOBJSRC=/mnt/HB/pkgsrc make
Thanks again for the help
--
Asmo
Jeremy C. Reed wrote:
> On Mon, 20 Sep 2004, Asmodehn Shade wrote:
>
>
>>So I wonder if there is a simple way to use the existing package
>>collection, but to build the package in some another directory, may be
>>on another disk.
>
>
> Set WRKOBJDIR to the directory you want to the builds on.
>
> For example, my /etc/mk.conf on one box has:
>
> WRKOBJDIR= /scratch/pkgsrc # build here instead of in pkgsrc
> OBJHOSTNAME= yes # use work.`hostname`
>
> I use OBJHOSTNAME because I share the pkgsrc tree and I need to have
> separate work directories for each build system.
>
> Jeremy C. Reed
>
> BSD News, BSD tutorials, BSD links
> http://www.bsdnewsletter.com/
>