Subject: Re: pkgsrc/$pkg/work/.install_done considered harmful?
To: None <current-users@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 03/03/2003 10:51:19
On Sun, 2 Mar 2003, Chuck Yerkes wrote:
> While we're here, it would be neat if the work/ directory
> were architecture noted: work-sparc/ != work-i386 and
> it'd be neat to have one tree.
As others have noted, OBJMACHINE=1 will do it.
Note: it's best to put it in /etc/mk.conf. At one point I put it in my
environment, which was fine until I went to install a package. The su
command wiped the environment, and so root was looking for work, not
work.foo where the package build was. :-)
Take care,
Bill