Subject: Building after DESTDIR
To: None <current-users@netbsd.org>
From: J. Buck Caldwell <buckaroo@igps.org>
List: current-users
Date: 03/21/2000 18:50:22
So the other day, I decided to update a system that netboots from one of
my servers, using a differnet system (same arch, vax) to build. So I go
into /usr/src, mount the root of the target's filesystem in /mnt, and do
'make DESTDIR=/mnt'. All went well, and the other system was updated.
However, now whenever I try to build for the original system, I get
error messages telling me that it doesn't know how to build
/mnt/usr/include/something or other. It's like the DESTDIR stuck. I
tried 'make clean' from /usr/src, redid 'make obj', and did 'make'
again, and it's still looking for includes in /mnt. What am I missing?

--
 -J. Buck Caldwell