Subject: Re: building package to diff destdir
To: None <netbsd-users@netbsd.org>
From: Tomasz Luchowski <tomasz@luchowski.com>
List: netbsd-users
Date: 04/04/2003 12:36:49
On Thu, Apr 03, 2003 at 10:51:02PM -0800, Caffeinate The World wrote:
> I have pkgsrc mounted from NFS on all systems. Is there some options or
> env var I can set to tell package to make in a different area rather
> than in /usr/pkgsrc/somepackage/..

See pkgsrc/mk/bsd.pkg.defaults.mk:

#WRKOBJDIR=     /usr/tmp
# build here instead of in pkgsrc
# Possible: any path
# Default: not defined

I sometimes set it to mount_mfs'd directory so that packages build
significantly faster (only makes sense if you have enough RAM, of course).

-- 
/* Tomasz Luchowski <tomasz@luchowski.com> */