Mk/bsd.port.mk: Extend pre-check-config to check option group names too

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D20426
This commit is contained in:
Tobias Kortkamp 2019-06-09 04:31:02 +00:00
parent 6a7017e296
commit b751249006
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503781

View File

@ -4682,7 +4682,8 @@ PORTS_ENV_VARS+= ${_EXPORTED_VARS}
.if !target(pre-check-config)
pre-check-config:
_CHECK_OPTIONS_NAMES= OPTIONS_DEFINE
_CHECK_OPTIONS_NAMES= OPTIONS_DEFINE OPTIONS_GROUP OPTIONS_MULTI \
OPTIONS_RADIO OPTIONS_SINGLE
_CHECK_OPTIONS_NAMES+= ${OPTIONS_GROUP:S/^/OPTIONS_GROUP_/}
_CHECK_OPTIONS_NAMES+= ${OPTIONS_MULTI:S/^/OPTIONS_MULTI_/}
_CHECK_OPTIONS_NAMES+= ${OPTIONS_RADIO:S/^/OPTIONS_RADIO_/}