diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-04-13 16:52:09 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-04-13 16:52:09 +0000 |
commit | 483e470c811154c5c731f74cd4aa798177206613 (patch) | |
tree | 8bdf8b629460bebce7f1857b4bd73045928ebd73 /Mk/Uses/ssl.mk | |
parent | - Update to 20170413 (diff) |
Add a BROKEN_OPENSSL and IGNORE_OPENSSL, to mark ports that are
BROKEN/IGNORE for specific OpenSSL flavors.
Convert a few ports as an example.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D10340
Notes
Notes:
svn path=/head/; revision=438453
Diffstat (limited to 'Mk/Uses/ssl.mk')
-rw-r--r-- | Mk/Uses/ssl.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Mk/Uses/ssl.mk b/Mk/Uses/ssl.mk index ac034a492dd1..282cd103feb7 100644 --- a/Mk/Uses/ssl.mk +++ b/Mk/Uses/ssl.mk @@ -77,6 +77,26 @@ OPENSSL_PORT= security/${SSL_DEFAULT} .error You are using an unsupported SSL provider ${SSL_DEFAULT} . endif +. if defined(BROKEN_OPENSSL) && ${BROKEN_OPENSSL:M${SSL_DEFAULT}} +. if defined(BROKEN_OPENSSL_REASON_${SSL_DEFAULT}) +BROKEN= ${BROKEN_OPENSSL_REASON_${SSL_DEFAULT}} +. elif defined(BROKEN_OPENSSL_REASON) +BROKEN= ${BROKEN_OPENSSL_REASON} +. else +BROKEN= does not build with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} +. endif +. endif + +. if defined(IGNORE_OPENSSL) && ${IGNORE_OPENSSL:M${SSL_DEFAULT}} +. if defined(IGNORE_OPENSSL_REASON_${SSL_DEFAULT}) +IGNORE= ${IGNORE_OPENSSL_REASON_${SSL_DEFAULT}} +. elif defined(IGNORE_OPENSSL_REASON) +IGNORE= ${IGNORE_OPENSSL_REASON} +. else +IGNORE= not compatible DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} +. endif +. endif + OPENSSLDIR?= ${OPENSSLBASE}/openssl .if defined(_SSL_BUILD_DEP) BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so.${OPENSSL_SHLIBVER}:${OPENSSL_PORT} |