Mk/bsd.sanity.mk: Prevent false positive with SSL_DEFAULT!=base after r499267
With SSL_DEFAULT!=base USES=ssl sets OPENSSL_LDFLAGS and any port with an OPENSSL option like net/haproxy gets a false positive error like: /!\ haproxy-1.9.8: Makefile errors /!\ The following options helpers are incorrectly set after bsd.port.options.mk and are ineffective: OPENSSL_LDFLAGS *** Error code 1 Whitelist OPENSSL_LDFLAGS to prevent this. Reported by: mfechner (via ports-committers) Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D20275
This commit is contained in:
parent
e2a1674ae4
commit
dae9f3d7a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501786
@ -168,6 +168,8 @@ DEV_ERROR+= "PORT${_type} does not do anything unless the ${_type} option is pre
|
||||
. endif
|
||||
.endfor
|
||||
|
||||
# Whitelist of options helper lookalikes that should not be reported on:
|
||||
_OPTIONS_HELPERS_SEEN+= OPENSSL_LDFLAGS
|
||||
_BROKEN_OPTIONS_HELPERS=
|
||||
.for opt in ${_REALLY_ALL_POSSIBLE_OPTIONS}
|
||||
. for helper in ${_ALL_OPTIONS_HELPERS}
|
||||
|
Loading…
Reference in New Issue
Block a user