Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/bsd.sanity.mk
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.for _type in EXAMPLES DOCS | .for _type in EXAMPLES DOCS | ||||
. if defined(PORT${_type}) && empty(_REALLY_ALL_POSSIBLE_OPTIONS:M${_type}) | . if defined(PORT${_type}) && empty(_REALLY_ALL_POSSIBLE_OPTIONS:M${_type}) | ||||
DEV_ERROR+= "PORT${_type} does not do anything unless the ${_type} option is present." | DEV_ERROR+= "PORT${_type} does not do anything unless the ${_type} option is present." | ||||
. endif | . endif | ||||
.endfor | .endfor | ||||
# Whitelist of options helper lookalikes that should not be reported on: | |||||
_OPTIONS_HELPERS_SEEN+= OPENSSL_LDFLAGS | |||||
_BROKEN_OPTIONS_HELPERS= | _BROKEN_OPTIONS_HELPERS= | ||||
.for opt in ${_REALLY_ALL_POSSIBLE_OPTIONS} | .for opt in ${_REALLY_ALL_POSSIBLE_OPTIONS} | ||||
. for helper in ${_ALL_OPTIONS_HELPERS} | . for helper in ${_ALL_OPTIONS_HELPERS} | ||||
. if defined(${opt}_${helper}) && empty(_OPTIONS_HELPERS_SEEN:M${opt}_${helper}) | . if defined(${opt}_${helper}) && empty(_OPTIONS_HELPERS_SEEN:M${opt}_${helper}) | ||||
_BROKEN_OPTIONS_HELPERS+= ${opt}_${helper} | _BROKEN_OPTIONS_HELPERS+= ${opt}_${helper} | ||||
. endif | . endif | ||||
. endfor | . endfor | ||||
.endfor | .endfor | ||||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |