diff options
author | ru <ru@FreeBSD.org> | 2004-11-03 18:01:21 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-11-03 18:01:21 +0000 |
commit | f0fbc30e0dfc83a5c6603f34bc585944a923a608 (patch) | |
tree | 3ac3269e298a8a5ca18723b897558aed5ce0331c /share/mk | |
parent | 002936f9ab07237fa07e80d791a458fdec54a268 (diff) | |
download | FreeBSD-src-f0fbc30e0dfc83a5c6603f34bc585944a923a608.zip FreeBSD-src-f0fbc30e0dfc83a5c6603f34bc585944a923a608.tar.gz |
Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.
Reviewed by: oliver
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.prog.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 792b49c..c379b2b 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -115,6 +115,10 @@ _EXTRADEPEND: .if !target(install) +.if defined(PRECIOUSPROG) && !defined(NOFSCHG) +INSTALLFLAGS+= -fschg +.endif + _INSTALLFLAGS:= ${INSTALLFLAGS} .for ie in ${INSTALLFLAGS_EDIT} _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |