diff options
Diffstat (limited to 'www/libdatachannel/Makefile')
-rw-r--r-- | www/libdatachannel/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/www/libdatachannel/Makefile b/www/libdatachannel/Makefile index e1931a9cc13f..d1c7c630bb02 100644 --- a/www/libdatachannel/Makefile +++ b/www/libdatachannel/Makefile @@ -1,10 +1,11 @@ PORTNAME= libdatachannel DISTVERSIONPREFIX= v -DISTVERSION= 0.14.0 +DISTVERSION= 0.20.3 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org COMMENT= WebRTC Data Channels, WebRTC Media Transport, and WebSockets library +WWW= https://github.com/paullouisageneau/libdatachannel LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE @@ -15,22 +16,22 @@ USES= cmake compiler:c++17-lang ssl USE_GITHUB= yes GH_ACCOUNT= paullouisageneau -GH_TUPLE= \ - SergiusTheBest:plog:d8461e9:plog/deps/plog \ - sctplab:usrsctp:07f871b:usrsctp/deps/usrsctp \ - paullouisageneau:libjuice:1a5bf2e:libjuice/deps/libjuice \ - nlohmann:json:973c52d:json/deps/json \ - cisco:libsrtp:f379f48:libsrtp/deps/libsrtp - +GH_TUPLE= SergiusTheBest:plog:e21baecd4753f14da64ede979c5a19302618b752:SergiusTheBest_plog/deps/plog \ + sctplab:usrsctp:ebb18adac6501bad4501b1f6dccb67a1c85cc299:sctplab_usrsctp/deps/usrsctp \ + paullouisageneau:libjuice:ac0fc81:paullouisageneau_libjuice/deps/libjuice \ + nlohmann:json:9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03:nlohmann_json/deps/json \ + cisco:libsrtp:a566a9cfcd619e8327784aa7cff4a1276dc1e895:cisco_libsrtp/deps/libsrtp 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' +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=unused-but-set-variable \ + -Wno-error=strict-prototypes .endif -do-test: +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} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DNO_TESTS:BOOL=OFF ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ |