# -*- 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 PortGroup muniversal 1.0 github.setup rurban safeclib 3.8.1 v github.tarball_from releases github.livecheck.regex (\[0-9]+\\.\[0-9]+(\\.\[0-9]+)?) categories devel license MIT maintainers {makr @mohd-akram} \ openmaintainer description Safe C Library long_description This library implements the secure C11 Annex K functions \ on top of most libc implementations, which are missing \ from them. checksums rmd160 0a05b06d0fbbc1477025dd943dd8f99cda420158 \ sha256 8e299f8f2838a4952865fc089fcbad0853e155ec750dd49798616ae37ed5e3be \ size 981870 compiler.c_standard 1999 # safe_mem_constraint.c: error: thread-local storage not supported for this target compiler.thread_local_storage yes worksrcdir ${name}-${version}.0-gdfea26 # build fails otherwise configure.args --disable-hardening if {${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} { configure.cflags-append -std=c99 } post-destroot { copy -force {*}[glob ${worksrcpath}/doc/man/man1/*] \ ${destroot}${prefix}/share/man/man1/ copy -force {*}[glob ${worksrcpath}/doc/man/man3/*] \ ${destroot}${prefix}/share/man/man3/ } test.run yes test.target check