Subject: Re: Using (or Not Using) DESTDIR
To: Curt Sampson <cjs@cynic.net>
From: Frederick Bruckman <fb@enteract.com>
List: tech-pkg
Date: 03/25/2000 23:18:23
On Sat, 25 Mar 2000, Curt Sampson wrote:

> Can we PLEASE change pkgsrc so that it uses a different DESTDIR
> from our /usr/src build system? I should think it's very common
> amongst those who do frequent builds (say, for snapshots) to want
> to put DESTDIR in /etc/mk.conf. But has f*cked me time and time
> again because any time I need to add an extra little utility to my
> system because a) the utility doesn't get added to my system, and
> b) it contamintates the snapshot I was building. This sort of thing
> will eventually (if it hasn't already) result in people distributing
> contaminated snapshots and the like.

So why not wrap it with ".ifndef (BSD_PKG_MK)", or better, ".if
make(release)", or even better, both?