# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup boost 1.0 PortGroup cmake 1.1 PortGroup compiler_blacklist_versions 1.0 PortGroup github 1.0 PortGroup legacysupport 1.1 PortGroup openssl 1.0 boost.version 1.81 # clock_gettime legacysupport.newest_darwin_requires_legacy 16 github.setup facebook mvfst 2024.01.22.00 v revision 0 checksums rmd160 337e53d358f9795676b89c63a49bd4ada73e0e78 \ sha256 4c60554c2f22afea7e80c4cb42265d8c8e86f9ae052df83608c22759fb35fa09 \ size 1856652 github.tarball_from archive categories devel net security license MIT maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description Implementation of the QUIC transport protocol long_description {*}${description} set port_libfmt libfmt10 cmake.module_path-append \ ${prefix}/lib/${port_libfmt}/cmake depends_lib-append port:bzip2 \ port:double-conversion \ port:fizz \ port:folly \ port:gflags \ port:google-glog \ path:lib/pkgconfig/icu-uc.pc:icu \ port:libevent \ port:libsodium \ port:libunwind \ port:lz4 \ port:snappy \ port:zlib \ port:zstd \ port:${port_libfmt} compiler.blacklist-append \ {clang < 1200} compiler.cxx_standard 2017 cmake.generator Ninja # Dynamic libs fail to link: https://github.com/facebook/mvfst/issues/326 configure.args-append \ -DBUILD_TESTS=OFF \ -DBUILD_SHARED_LIBS=OFF if {[string match *clang* ${configure.compiler}]} { # Don’t use libcxx with gcc. legacysupport.use_mp_libcxx yes } if {[string match *gcc* ${configure.compiler}] && ${configure.build_arch} in [list i386 ppc]} { configure.ldflags-append \ -latomic }