Re: Cleaning up after installing packages

Julian Coleman <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.