Index: Mk/Uses/ssl.mk =================================================================== --- Mk/Uses/ssl.mk +++ Mk/Uses/ssl.mk @@ -77,6 +77,22 @@ .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) +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) +IGNORE= ${IGNORE_OPENSSL_REASON} +. else +IGNORE= Does not build with 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} Index: www/libwww/Makefile =================================================================== --- www/libwww/Makefile +++ www/libwww/Makefile @@ -22,15 +22,11 @@ USE_PERL5= build USE_LDCONFIG= yes +BROKEN_OPENSSL= openssl-devel + post-install: ${INSTALL_DATA} ${WRKSRC}/modules/expat/xmlparse/xmlparse.h \ ${STAGEDIR}${PREFIX}/include/w3c-libwww/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so -.include - -.if ${SSL_DEFAULT:Mopenssl-devel} -BROKEN= Does not build with openssl-devel -.endif - -.include +.include Index: www/mod_auth_gssapi/Makefile =================================================================== --- www/mod_auth_gssapi/Makefile +++ www/mod_auth_gssapi/Makefile @@ -29,11 +29,8 @@ APMOD_FILE= 240_${PORTNAME}.conf.sample PLIST_SUB+= APMOD_FILE=${APMOD_FILE} -.include - -.if ${SSL_DEFAULT:Mlibressl*} -IGNORE= mod_auth_gssapi currently only supports OpenSSL -.endif +IGNORE_OPENSSL= libressl libressl-devel +IGNORE_OPENSSL_REASON= mod_auth_gssapi currently only supports OpenSSL do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} @@ -43,4 +40,4 @@ ${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so -.include +.include Index: www/mod_spdy/Makefile =================================================================== --- www/mod_spdy/Makefile +++ www/mod_spdy/Makefile @@ -82,11 +82,10 @@ LDFLAGS="${LDFLAGS}" MAKE_ENV+= BUILDTYPE=${BUILDTYPE} -.include +BROKEN_OPENSSL= libressl libressl-devel +BROKEN_OPENSSL_REASON= incompatible with LibreSSL, please use www/apache24 with mod_http2 -.if ${SSL_DEFAULT:Mlibressl*} -IGNORE= ${PORTNAME} is incompatible with LibreSSL, please use www/apache24 with mod_http2 -.endif +.include .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36 CXXFLAGS+= -Wno-unused-local-typedef