Subject: Re: packages and DESTDIR
To: Brook Milligan <brook@trillium.NMSU.Edu>
From: Todd Vierling <>
List: tech-pkg
Date: 09/23/1998 16:30:13
On Wed, 23 Sep 1998, Brook Milligan wrote:

: I am trying to use DESTDIR to prevent newly compiled packages from
: overwriting my live system.  So far most seem to work fine, with
: devel/gmake and devel/readline being notable exceptions.
: The problem in both cases is that DESTDIR is used twice for the
: install targets; it is included in the PREFIX and then things are
: installed, for example, in $(DESDIR)/$(PREFIX).  Thus, things end up,
: for example, in $(DESTDIR)/$(DESTDIR)/usr/pkg/... .  

FWIW, DESTDIR isn't officially supported when compiling pkgs.  With that
said, I do believe it may be a good idea to chase.  8-)

The given patches would probably be worth including, though.

-- Todd Vierling (Personal; Bus.