# -*- 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.8.4 v
revision            0
checksums           rmd160  094aa2234453ed0a83c385ea817d0765655a0c65 \
                    sha256  2356e002e80ef695875e971d6a4fd8c61ca5c6fa4fd1bf31cce54a269c8bfcd5 \
                    size    526632

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.*
}
