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
b050d953ee
commit
c986ef0cb9
@ -207,6 +207,9 @@ COMPRESS_EXT?= .gz
|
|||||||
MAN \
|
MAN \
|
||||||
PROFILE
|
PROFILE
|
||||||
.if defined(NO_${var})
|
.if defined(NO_${var})
|
||||||
|
.if defined(WITH_${var})
|
||||||
|
.undef WITH_${var}
|
||||||
|
.endif
|
||||||
WITHOUT_${var}=
|
WITHOUT_${var}=
|
||||||
.endif
|
.endif
|
||||||
.endfor
|
.endfor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user