Subject: Re: installing openoffice-bin
To: J Chapman Flack <flack@cs.purdue.edu>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 09/08/2005 18:17:26
On Thu, 08 Sep 2005 10:52:06 -0500
J Chapman Flack <flack@cs.purdue.edu> wrote:

> Perry E. Metzger wrote:
> > openoffice-bin seems to overflow my /tmp/ in attempting to install.
> > Is there any reasonable way to tell it to use another directory to
> 
> I generally use both PKG_TMPDIR=/some/dir in the environment, and 
> -t /some/dir/fooXXXXXX on the pkg_add command line.  If invoking
> pkg_add through make rather than directly, the -t option can go in
> BIN_INSTALL_FLAGS.
> 
> If -t specifies a directory on the same dev as the final installation
> location, the ultimate mv's will succeed by linking rather than
> copying, saving time.

PKG_TMPDIR won't have any effect, if we are installing it via pkgsrc.