# -*- 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 legacysupport 1.1 PortGroup sourcehut 1.0 # getline, fmemopen legacysupport.newest_darwin_requires_legacy 16 sourcehut.setup rwa cgmnlm 1.7 revision 0 categories net gemini license GPL-3 maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description ${name} is a colorful Gemini line mode client long_description {*}${description} checksums rmd160 5b94629634ad5161644d69e3118344bfc52e77c0 \ sha256 0ee790b10e8be4c0a514e5374ff856b89797ffe7e37fc24b211f735de6de80f8 \ size 52923 depends_build-append \ port:pkgconfig depends_lib-append port:bearssl depends_run-append port:xdg-utils patchfiles patch-client.c.diff # src/url.c: error: variable 'clen' set but not used [-Werror,-Wunused-but-set-variable] # src/gmnlm.c: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] if {[string match *clang* ${configure.compiler}]} { patchfiles-append \ patch-no-werror.diff } compiler.c_standard 2011 if {${os.platform} eq "darwin" && ${os.major} < 17} { # The build uses a weird shell script to configure; it does not accept configure.ldflags. build.env-append \ LDFLAGS=-lMacportsLegacySupport }