# -*- 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 7.6.8 v
checksums rmd160 1e3952a2920e97393080fd4cc6a366c2c4ce2416 \
sha256 0e78c46ca44b398943c4c915288ca2215f025d524334d4ab756e73a474081fd6 \
# 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 \