mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See https://github.com/macports/macports-ports/pull/26909#issuecomment-3339115770
43 lines
1.4 KiB
Tcl
43 lines
1.4 KiB
Tcl
# -*- 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 cmake 1.1
|
|
PortGroup github 1.0
|
|
PortGroup legacysupport 1.1
|
|
|
|
# strndup
|
|
legacysupport.newest_darwin_requires_legacy 10
|
|
|
|
github.setup Softmotions iowow 1.4.18 v
|
|
revision 0
|
|
epoch 1
|
|
categories databases devel
|
|
license MIT
|
|
maintainers nomaintainer
|
|
description C11 utility library and persistent key/value storage engine
|
|
long_description {*}${description}
|
|
homepage https://iowow.softmotions.com
|
|
checksums rmd160 82f5e5fa0af526b153bbe38af9ad570219e86001 \
|
|
sha256 ef4ee56dd77ce326fff25b6f41e7d78303322cca3f11cf5683ce9abfda34faf9 \
|
|
size 629208
|
|
github.tarball_from archive
|
|
|
|
depends_build-append \
|
|
port:cunit
|
|
|
|
compiler.c_standard 2011
|
|
# stdatomic.h
|
|
compiler.blacklist-append {clang < 700}
|
|
|
|
configure.args-append \
|
|
-DBUILD_TESTS:BOOL=ON
|
|
|
|
# https://github.com/Softmotions/iowow/issues/53
|
|
if {[string match *gcc* ${configure.compiler}] && ${configure.build_arch} in [list arm i386 ppc]} {
|
|
configure.ldflags-append \
|
|
-latomic
|
|
}
|
|
|
|
# FIXME: several test cases fail on PowerPC: https://github.com/Softmotions/iowow/issues/54
|
|
test.run yes
|