Subject: Re: build of -current from today fails on libexec/kpasswdd
To: Chris Gilbert <>
From: Chris Pinnock <>
List: current-users
Date: 07/04/2001 13:19:31
On Wed, Jul 04, 2001 at 09:30:23AM +0100, Chris Gilbert wrote:
> kdump and makewhatis appear to need DESTDIR in the env, some arch's 
> floppy/ram disk image creation scripts need it as well.

I've just successfully done a make build with DESTDIR set in /etc/mk.conf on
the netbsd-1-5 branch sources, and everything (including makewhatis
appeared to work properly).

> > Not only that, but it's best not to set it in the environment lest you
> > forget it is there and it gets used at the wrong time.  The environment
> > is a necessary evil best to be avoided where possible, especially in
> > software configuration management!
> I'm not saying it's the right thing, I'm saying that currently we've got to 
> have it in the env to make sure things are done right.

I agree. For now, it is probably best to use DESTDIR in the environment.