Subject: Re: pkgsrc: WRKDIR / NFS-mounted pkgsrc
To: None <>
From: Klaus Heinz <>
List: netbsd-users
Date: 12/22/2004 13:44:00
Florian Stoehr wrote:
> I need to run pkgsrc build from various machines and architectures in 
> parallel.
> So on every machine, i added to /etc/mk.conf:
> WRKDIR=/var/temp

You want WRKOBJDIR=/var/temp and OBJHOSTNAME=yes, so every machine
gets a working directory of its own. See line 522ff in

> How to force it not to remove the top-level directory (or make things 
> othervise work) ?

WRKDIR is set automatically using WRKOBJDIR (among others) and will
always be deleted by "make clean".