Subject: Re: pkgsrc/$pkg/work/.install_done considered harmful?
To: None <current-users@netbsd.org>
From: Chuck Yerkes <chuck+nbsd@2003.snew.com>
List: current-users
Date: 03/02/2003 12:34:26
Quoting Luke Mewburn (lukem@netbsd.org):
> On Sun, Mar 02, 2003 at 05:48:29AM -0500, Chuck Yerkes wrote:
..
>   | I mount /usr/pkgsrc/ on another machine that's NOT the build
>   | machine.  I remove the .install_done and run "make"
> 
> Or you could just do "make package", and then copy the resulting
> binary package to the target machine(s) and pkg_add that...

And figure out all the dependencies it added.  Easy enough to
work around.

>   | 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.
> 
> mk.conf(5)'s OBJHOSTNAME does a similar thing;
> if set, pkgsrc uses "work.`hostname`" instead of "work".

Cool, thanks.  May poke at creating ${OBJSYSTEMTYPE} along the
same lines.