mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 10:10:24 -04:00
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:
parent
3b60c193fc
commit
085c0641a2
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ MK_${var}:= yes
|
|||
# step towards removing the options entirely.
|
||||
#
|
||||
.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
|
||||
.endif
|
||||
MK_${var}:= yes
|
||||
|
|
|
|||
Loading…
Reference in a new issue