# -*- 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 github 1.0 github.setup confluentinc librdkafka 2.5.3 v revision 0 categories net license BSD maintainers {@alexeyt820 gmail.com:alexey.trenikhin+macports} openmaintainer description The Apache Kafka C/C++ library long_description Full Apache Kafka protocol support, including producer and consumer checksums sha256 eaa1213fdddf9c43e28834d9a832d9dd732377d35121e42f875966305f52b8ff \ rmd160 fc41d72b3de71cefe8b25b593a22df748e7bef34 \ size 4540113 github.tarball_from archive # https://github.com/confluentinc/librdkafka/issues/4759 patchfiles-append patch-unbreak-configure.diff configure.args-append --disable-curl \ --disable-gssapi \ --disable-lz4-ext \ --disable-ssl \ --disable-syslog \ --disable-zstd depends_build-append path:bin/pkg-config:pkgconfig depends_lib-append port:zlib # rdkafka_queue.h: error: thread-local storage not supported for this target compiler.thread_local_storage yes if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} ne "" && ${os.major} < 22} { configure.ldflags-append -stdlib=${configure.cxx_stdlib} } variant zstd description {Enable support for zstd compression} { depends_lib-append port:zstd configure.args-replace --disable-zstd --enable-zstd } variant lz4 description {Enable external LZ4 library support} { depends_lib-append port:lz4 configure.args-replace --disable-lz4-ext --enable-lz4-ext } variant ssl description {Enable SSL support} { depends_lib-append path:lib/libssl.dylib:openssl configure.args-replace --disable-ssl --enable-ssl } variant sasl description {Enable SASL GSSAPI support with Cyrus libsasl2} { depends_lib-append port:cyrus-sasl2 configure.args-replace --disable-gssapi --enable-gssapi } variant curl description {Enable OpenID Connect support with curl} { depends_lib-append port:curl configure.args-replace --disable-curl --enable-curl } default_variants +zstd +lz4 +ssl +sasl +curl configure.ldflags-prepend -L../src test.run no github.livecheck.regex {([0-9.]+)} github.tarball_from archive