git: 9e7ee1cb8675 - main - www/libdatachannel: Broken on 11 with base OpenSSL

Yuri Victorovich yuri at FreeBSD.org
Wed May 26 06:59:09 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e7ee1cb8675d83fd3102f5b4b891fd89b462e5d

commit 9e7ee1cb8675d83fd3102f5b4b891fd89b462e5d
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-26 05:50:41 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-05-26 06:59:04 +0000

    www/libdatachannel: Broken on 11 with base OpenSSL
    
    Reported by:    fallout
---
 www/libdatachannel/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/www/libdatachannel/Makefile b/www/libdatachannel/Makefile
index daa3ab72d69d..2441fd864f8e 100644
--- a/www/libdatachannel/Makefile
+++ b/www/libdatachannel/Makefile
@@ -23,10 +23,16 @@ GH_TUPLE=	\
 
 CMAKE_ON=	USE_SYSTEM_SRTP NO_EXAMPLES NO_TESTS
 
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT} == base
+BROKEN_FreeBSD_11=	OpenSSL is too old: use of undeclared identifier 'X509_getm_notBefore'
+.endif
+
 do-test:
 	@cd ${BUILD_WRKSRC} && \
 		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DNO_TESTS:BOOL=OFF ${CMAKE_SOURCE_PATH} && \
 		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
 		./tests-${DISTVERSION:C/-.*//}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the dev-commits-ports-all mailing list