Allow NO_FOO to override WITH_FOO that could be specified in /etc/src.conf.
This is required to override knobs (e.g. WITH_PROFILE) during buildworld stages in Makefile.inc1 (otherwise the build is stopped due to both WITH_FOO and WITHOUT_FOO defined).
This commit is contained in:
parent
6dc3afae75
commit
1ade594798
@ -207,6 +207,9 @@ COMPRESS_EXT?= .gz
|
||||
MAN \
|
||||
PROFILE
|
||||
.if defined(NO_${var})
|
||||
.if defined(WITH_${var})
|
||||
.undef WITH_${var}
|
||||
.endif
|
||||
WITHOUT_${var}=
|
||||
.endif
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user