Subject: Re: Cleaning up after installing packages
To: NetBSD netbsd-help mailing list <netbsd-help@netbsd.org>
From: Julian Coleman <jdc@coris.org.uk>
List: netbsd-help
Date: 12/14/2006 21:32:57
> The slowness of make clean is really scary if you compare it to
> 	rm -rf */*/work

Or, you can set (for example):

  WRKOBJDIR?=/usr/obj/pkg/${MACHINE_ARCH}

in your /etc/mk.conf and your package build directories will all be outside
your pkgsrc installation.  Useful if you serve disk space to more than one
architecture.  The `?=' is there so that you can override the value on the
command line if you want to do some testing, for example:

  $ WRKOBJDIR=/tmp/obj nice make

(sh syntax) or:

 $ setenv WRKOBJDIR /tmp/obj; nice make

(csh syntax).

J

-- 
  My other computer also runs NetBSD    /        Sailing at Newbiggin
        http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/