Retiring WITH_INSTALL_AS_USER

Simon J. Gerraty sjg at juniper.net
Fri Oct 24 15:53:27 UTC 2014


Dag-Erling Smørgrav <des at des.no> wrote:

> "Simon J. Gerraty" <sjg at juniper.net> writes:
> > Hmm I have it permanently set in a projects/bmake tree that builds
> > buildworld etc fine (while producing meta files) - though its been a
> > month or two since last sync.
> 
> WITH_INSTALL_AS_USER does not modify buildworld, so that's moot.  It
> modifies installworld, and it does not work:

Ah I never tried that 
Though I guess the knob name implies it should do something useful.

Ok, that explains the "brokenness" I wasn't aware of.

> All it does is set the default *BIN / *GRP to the user name and primary
> group name of the current user.  It does not prevent Makefiles from
> overriding them (or from setting chflags like libc does).

If that were  desired, it would be simple enough to add them to 
.MAKEOVERRIDES (treats them as though they were set on command line)

But it sounds like NO_ROOT already solves this issue?


More information about the freebsd-arch mailing list