Subject: Re: tweaks for fparseln(3) move from libutil to libc
To: None <>
From: Christopher Richards <richards+netbsd@CS.Princeton.EDU>
List: tech-toolchain
Date: 12/07/2002 22:50:12 (Bill Studenmund) writes:

> On 6 Dec 2002, Christopher Richards wrote:
> > My FreeBSD is a little rusty, but I believe "buildworld" does an
> > UNPRIVED-style build (no metadata are logged, though) -- unprivileged
> > users can invoke it if they have write privileges under /usr/obj.
> > During the build the system include path is set to /usr/obj/include
> > and similary for libraries.  Then "installworld", which must be run as
> > root, runs "make install" for everything just built.  All the
> > permissions info is already there in the install target, so there's no
> > need for METALOG, even when building as non-root.
> Note: that assumes that the build isn't one that changes permissions on a
> program, say adding or removing set-id. :-)

Correct -- it's surprising to me that a mere build should twiddle such
things as set-id bits.  Isn't that the job of "make install"?  I'm
missing something here.

> can do the buildworld part (and other stuff too..).

Indeed, I always build with

> So it sounds like you want a make target that will do the install?
> Shouldn't be too hard to do.

Yes, either a make target or a option would do -- with the
requirement that it DTRT after an UNPRIVED DESTDIR build without going
through a whole "make release".