bsd.mkopt.mk: Avoid warning from makeman
Setting WITHOUT_X where X is a __REQUIRED_OPTION produces a warning. This occurred during makeman's `make showconfig` invocatation, but the warning serves no purpose there, and clutters makeman's output. Skip the warning for the showconfig target used by makeman. Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49123
This commit is contained in:
@@ -67,7 +67,7 @@ MK_${var}:= yes
|
|||||||
# step towards removing the options entirely.
|
# step towards removing the options entirely.
|
||||||
#
|
#
|
||||||
.for var in ${__REQUIRED_OPTIONS}
|
.for var in ${__REQUIRED_OPTIONS}
|
||||||
.if defined(WITHOUT_${var})
|
.if defined(WITHOUT_${var}) && !make(showconfig)
|
||||||
.warning WITHOUT_${var} option ignored: it is no longer supported
|
.warning WITHOUT_${var} option ignored: it is no longer supported
|
||||||
.endif
|
.endif
|
||||||
MK_${var}:= yes
|
MK_${var}:= yes
|
||||||
|
|||||||
Reference in New Issue
Block a user