[Bug 244485] Mk/Scripts: warn about options without a description

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 28 14:18:32 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244485

--- Comment #2 from Mathieu Arnold <mat at FreeBSD.org> ---
I wanted to do something about this a while back, but bsd.options.desc.mk is
only parsed if you run make config or make showconfig.
(Because it is very fat and not needed most of the time.)
It happens around lines 4980 of Mk/bsd.ports.mk.

All would be needed is to add, something like this in all the loops:

.      if empty(${opt}_DESC)
DEV_WARNING+=   "The ${opt} option does not have an associated ${opt}_DESC"
.      endif

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list