# -*- 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
github.setup ivmai bdwgc 8.0.2 v
checksums rmd160 1d9142e8c01e0ef6278d7574b05cc892560c2153 \
sha256 ea3069e218a6d2cf387fc6bb3cd40fb97942e0f8da5dcca0fb47f2c812b585ae \
# boehmgc only uses the MIT and Permissive parts of libatomic_ops, don't
# conflict on the GPL part
license_noconflict libatomic_ops
description The Boehm-Demers-Weiser conservative C/C++ Garbage Collector
The Boehm-Demers-Weiser conservative garbage collector can be used as \
a garbage collecting replacement for C malloc or C++ new. It is also used \
by a number of programming language implementations that use C as \
# needed since we use the github version; also has the benefit of teaching
# glibtool about -stdlib=libc++.
# autoreconf needs pkgconfig
configure.args --enable-cplusplus \
configure.cppflags-append \
-D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE
variant redirect description {Redirect malloc and friends to GC routines} {
# Not needed to "force" ucontext.h on Tiger, and it actually forces POSIX
# sys/mman.h which breaks the build there because Tiger's sys/mman.h
# doesn't recognize _DARWIN_C_SOURCE
configure.cppflags-delete \