Subject: Re: pkgsrc/$pkg/work/.install_done considered harmful?
To: Chuck Yerkes <chuck+nbsd@2003.snew.com>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 03/02/2003 22:12:22
On Sun, Mar 02, 2003 at 05:48:29AM -0500, Chuck Yerkes wrote:
  | I build on a machine that's kept upto date and has
  | all the include files and libraries.
  | 
  | 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...


  | Sometimes the build system is not the system running the install.
  | 
  | 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".

Luke.