source: trunk/dports/devel/boehmgc/Portfile

Last change on this file was 151757, checked in by mps@…, 13 months ago

boehmgc: update to version 7.6.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 151757 2016-08-21 19:38:41Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           muniversal 1.0
7
8github.setup        ivmai bdwgc 7_6_0 gc
9version             [string map {_ .} ${github.version}]
10checksums           rmd160  ae1f33e6106a80ed169589774f8da66160a3639a \
11                    sha256  6fbfb4b04627f6c2a58f436b00bcce84517a56d99398256eef1fb1193af8aaad
12
13name                boehmgc
14conflicts           boehmgc-devel
15
16categories          devel
17platforms           darwin
18maintainers         nomaintainer
19license             Permissive
20# boehmgc only uses the MIT and Permissive parts of libatomic_ops, don't
21# conflict on the GPL part
22license_noconflict  libatomic_ops
23
24description         The Boehm-Demers-Weiser conservative C/C++ Garbage Collector
25long_description \
26    The Boehm-Demers-Weiser conservative garbage collector can be used as \
27    a garbage collecting replacement for C malloc or C++ new. It is also used \
28    by a number of programming language implementations that use C as \
29    intermediate code.
30
31# needed since we use the github version; also has the benefit of teaching
32# glibtool about -stdlib=libc++.
33use_autoreconf  yes
34
35# autoreconf needs pkgconfig
36depends_build-append \
37                port:pkgconfig \
38                port:libatomic_ops
39
40configure.args  --with-threads=posix \
41                --enable-cplusplus
42configure.cppflags-append \
43                -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE
44
45variant redirect description {Redirect malloc and friends to GC routines} {
46    configure.args-append  \
47                --enable-redirect-malloc
48}
49
50platform darwin 8 {
51    # Not needed to "force" ucontext.h on Tiger, and it actually forces POSIX
52    # sys/mman.h which breaks the build there because Tiger's sys/mman.h
53    # doesn't recognize _DARWIN_C_SOURCE
54    configure.cppflags-delete \
55                -D_XOPEN_SOURCE=600
56}
57
58test.run        yes
59test.target     check
Note: See TracBrowser for help on using the repository browser.