aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2026-04-22 02:29:07 +0000
committerKyle Evans <kevans@FreeBSD.org>2026-04-22 02:32:23 +0000
commit8bbba9f681ecccc6f6adcdb820c28df71f028e37 (patch)
treea49df71f2b3c17e0275ae05f391ac40ac9c0c28b
parent0f89380a3d208d67698f2d35afd35257e5fdbe09 (diff)
makeman.lua: catch up to REQUIRED_OPTIONS change
161f8edc651c7 ("bsd.mkopt.mk: Prepare a list of all build options") restructured things and now we should simply strip the leading double underbar. This fixes the oddity noticed in 4ed20e0236dd0 ("kshim/usb: Add build option."), where WITH_CASPER made a surprise appearance. This is a part of D56558, but not the meat of the change. Reviewed by: emaste, imp
-rw-r--r--tools/build/options/makeman.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/options/makeman.lua b/tools/build/options/makeman.lua
index 7ce919f7a8de..af641ff6d638 100644
--- a/tools/build/options/makeman.lua
+++ b/tools/build/options/makeman.lua
@@ -309,7 +309,7 @@ end
local function required_options()
local output = run_make({"-f", "share/mk/src.opts.mk", "-V",
- "__REQUIRED_OPTIONS"})
+ "REQUIRED_OPTIONS"})
local options = {}
for opt in output:gmatch("[^%s]+") do