Ravenports generated: 27 Apr 2021 12:51
[ravenports.git] / bucket_96 / boehm_garbage_collector
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               boehm_garbage_collector
4 VERSION=                8.0.4
5 KEYWORDS=               devel
6 VARIANTS=               standard threaded redirect
7 SDESC[threaded]=        Garbage collection with posix thread support
8 SDESC[redirect]=        Garbage collection with redirected malloc
9 SDESC[standard]=        Garbage collection and memory leak detection
10 HOMEPAGE=               https://github.com/ivmai/bdwgc/
11 CONTACT=                nobody
12
13 DOWNLOAD_GROUPS=        main old
14 SITES[main]=            https://github.com/ivmai/bdwgc/releases/download/v8.0.4/
15 SITES[old]=             http://www.hboehm.info/gc/gc_source/
16 DISTFILE[1]=            gc-8.0.4.tar.gz:main
17 DF_INDEX=               1
18 SPKGS[threaded]=        single
19 SPKGS[redirect]=        single
20 SPKGS[standard]=        single
21
22 OPTIONS_AVAILABLE=      THREADED REDIRECT
23 OPTIONS_STANDARD=       none
24 VOPTS[threaded]=        THREADED=ON REDIRECT=OFF
25 VOPTS[redirect]=        THREADED=OFF REDIRECT=ON
26
27 BUILD_DEPENDS=          libatomic_ops:single:standard
28
29 USES=                   cpe libtool pkgconfig c++:single
30
31 DISTNAME=               gc-8.0.4
32
33 LICENSE=                BSD2CLAUSE:single
34 LICENSE_FILE=           BSD2CLAUSE:{{WRKSRC}}/COPYING
35 LICENSE_SCHEME=         solo
36
37 CPE_PRODUCT=            garbage_collector
38 CPE_VENDOR=             boehm-demers-weiser
39 FPC_EQUIVALENT=         devel/boehm-gc
40
41 MUST_CONFIGURE=         gnu
42 CONFIGURE_ARGS=         --enable-cplusplus
43                         --disable-static
44                         --disable-docs
45
46 SINGLE_JOB=             yes
47
48 INSTALL_TARGET=         install-strip
49 INSTALL_REQ_TOOLCHAIN=  yes
50 SOVERSION=              1.4.0
51 PLIST_SUB=              GCVERSION=1.4.3
52                         GCMAJOR=1
53                         CPPVERSION=1.4.0
54                         CPPMAJOR=1
55
56 [THREADED].DESCRIPTION=                 Enable posix thread support
57 [THREADED].CONFIGURE_ARGS_OFF=          --disable-threads
58 [THREADED].CONFIGURE_ARGS_ON=           --enable-threads=posix
59 [THREADED].CONFIGURE_ENABLE_BOTH=       parallel-mark
60
61 [REDIRECT].DESCRIPTION=                 Enable malloc redirection support
62 [REDIRECT].CONFIGURE_ENABLE_BOTH=       redirect-malloc
63
64 post-patch:
65         ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
66         ${REINPLACE_CMD} -e "s|: install-dist_pkgdataDATA|: |" \
67                 ${WRKSRC}/Makefile.in
68
69 post-install:
70         ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${STAGEDIR}${MANPREFIX}/man/man3/gc.3
71
72 [FILE:741:descriptions/desc.single]
73 The Boehm-Weiser garbage collection package, for C and C++ -
74 garbage collection and memory leak detection libraries.
75
76 A garbage collector is something which automatically frees malloc'd
77 memory for you by working out what parts of memory your program
78 no longer has pointers to.  As a result, garbage collectors can also
79 inform you of memory leaks (if they find memory they can free, it means
80 you have lost all of your pointers to it, but you didn't free it).
81
82 C programs may be linked against either of these, and should run (with
83 GC or leak detection) without change.  C++ programs must include a header
84 to use garbage collection, though leak detection should work without
85 such source code modifications.  See the man page and header files.
86
87
88 [FILE:94:distinfo]
89 436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d      1160528 gc-8.0.4.tar.gz
90
91
92 [FILE:492:manifests/plist.single]
93 include/
94  gc.h
95  gc_cpp.h
96 include/gc/
97  cord.h
98  cord_pos.h
99  ec.h
100  gc.h
101  gc_allocator.h
102  gc_backptr.h
103  gc_config_macros.h
104  gc_cpp.h
105  gc_gcj.h
106  gc_inline.h
107  gc_mark.h
108  gc_pthread_redirects.h
109  gc_tiny_fl.h
110  gc_typed.h
111  gc_version.h
112  javaxfc.h
113  leak_detector.h
114 lib/
115  libcord.so
116  libcord.so.%%SOMAJOR%%
117  libcord.so.%%SOVERSION%%
118  libgc.so
119  libgc.so.%%GCMAJOR%%
120  libgc.so.%%GCVERSION%%
121  libgccpp.so
122  libgccpp.so.%%CPPMAJOR%%
123  libgccpp.so.%%CPPVERSION%%
124 lib/pkgconfig/bdw-gc.pc
125 share/man/man3/gc.3.gz
126
127
128 [FILE:279:patches/patch-configure]
129 --- configure.orig      2018-04-20 18:13:27 UTC
130 +++ configure
131 @@ -16172,6 +16172,9 @@ else
132  fi
133  
134  case "${host}" in
135 +  *-freebsd*|*-dragonfly*)
136 +    gc_use_mmap=yes
137 +    ;;
138    *-linux*)
139      # FIXME: This seems to be no longer needed as configured in gcconfig.h
140      #gc_use_mmap=yes
141