git: f729e32a082e - main - www/libdatachannel: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 May 2023 16:32:38 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f729e32a082e707b2fd65759d5134a5a8b15ed20
commit f729e32a082e707b2fd65759d5134a5a8b15ed20
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-02 16:00:34 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-02 16:32:26 +0000
www/libdatachannel: Unbreak on HEAD
Approved by: portmgr (blanket)
---
www/libdatachannel/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/www/libdatachannel/Makefile b/www/libdatachannel/Makefile
index d9987fbbef57..df5ddf8acb81 100644
--- a/www/libdatachannel/Makefile
+++ b/www/libdatachannel/Makefile
@@ -24,6 +24,13 @@ GH_TUPLE= SergiusTheBest:plog:d8461e9d473e59fbcc1f79eee021550dcf81e618:SergiusTh
CMAKE_ON= USE_SYSTEM_SRTP NO_EXAMPLES NO_TESTS
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=unused-but-set-variable \
+ -Wno-error=strict-prototypes
+.endif
+
do-test: # tests require dual stack to be enabled with 'sysctl net.inet6.ip6.v6only=0', at least one test is known to fail
# tests fail (intermittently?): https://github.com/paullouisageneau/libdatachannel/issues/682
@cd ${BUILD_WRKSRC} && \
@@ -31,4 +38,4 @@ do-test: # tests require dual stack to be enabled with 'sysctl net.inet6.ip6.v6o
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
./tests-${DISTVERSION:C/-.*//}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>