# -*- 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        bdwgc libatomic_ops 7.10.0 v
revision            0
checksums           rmd160  a0b7f5cb58caa07aac95ae7038665bb679018cc7 \
                    sha256  0db3ebff755db170f65e74a64ec4511812e9ee3185c232eeffeacd274190dfb0 \
                    size    543312

maintainers         nomaintainer
categories          devel
# Permissive for parts from boehmgc, MIT for parts to be linked with other
# software, GPL for the separate GPL'd library
license             Permissive MIT GPL-2

description         library for hardware-provided atomic memory operations
long_description    This package provides semi-portable access to \
                    hardware-provided atomic memory operations.

github.tarball_from releases

test.run            yes
test.target         check

# universal requires muniversal, but i386 tests fail on x86_64
# universal_variant no

##### compiler tweaking for older systems
# on i386, requires newer gcc (6 tested) or clang 3.4+
# on ppc, builds with older compilers (default compilers work)

platform darwin i386 {
    compiler.blacklist-append *gcc-3.* *gcc-4.*
}
