1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= boehm_garbage_collector
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/
13 DOWNLOAD_GROUPS= main old
14 SITES[main]= https://github.com/ivmai/bdwgc/releases/download/v8.2.0/
15 SITES[old]= http://www.hboehm.info/gc/gc_source/
16 DISTFILE[1]= gc-8.2.0.tar.gz:main
18 SPKGS[threaded]= single
19 SPKGS[redirect]= single
20 SPKGS[standard]= single
22 OPTIONS_AVAILABLE= THREADED REDIRECT
23 OPTIONS_STANDARD= none
24 VOPTS[threaded]= THREADED=ON REDIRECT=OFF
25 VOPTS[redirect]= THREADED=OFF REDIRECT=ON
27 BUILD_DEPENDS= libatomic_ops:single:standard
29 USES= cpe cmake pkgconfig c++:single
33 LICENSE= BSD2CLAUSE:single
34 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING
37 CPE_PRODUCT= garbage_collector
38 CPE_VENDOR= boehm-demers-weiser
39 FPC_EQUIVALENT= devel/boehm-gc
41 INSTALL_REQ_TOOLCHAIN= yes
43 PLIST_SUB= GCVERSION=1.5.0
50 CMAKE_ARGS= -Denable_docs:BOOL=OFF
51 -Denable_cplusplus:BOOL=ON
53 [THREADED].DESCRIPTION= Enable posix thread support
54 [THREADED].CMAKE_ARGS_OFF= -Denable_threads:BOOL=OFF
55 [THREADED].CMAKE_ARGS_ON= -Denable_threads:BOOL=ON
56 -Denable_parallel_mark:BOOL=ON
58 [REDIRECT].DESCRIPTION= Enable malloc redirection support
59 [REDIRECT].CMAKE_ARGS_OFF= -Denable_redirect_malloc:BOOL=OFF
60 [REDIRECT].CMAKE_ARGS_ON= -Denable_redirect_malloc:BOOL=ON
63 ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
66 ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${STAGEDIR}${MANPREFIX}/man/man3/gc.3
67 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
69 [FILE:741:descriptions/desc.single]
70 The Boehm-Weiser garbage collection package, for C and C++ -
71 garbage collection and memory leak detection libraries.
73 A garbage collector is something which automatically frees malloc'd
74 memory for you by working out what parts of memory your program
75 no longer has pointers to. As a result, garbage collectors can also
76 inform you of memory leaks (if they find memory they can free, it means
77 you have lost all of your pointers to it, but you didn't free it).
79 C programs may be linked against either of these, and should run (with
80 GC or leak detection) without change. C++ programs must include a header
81 to use garbage collection, though leak detection should work without
82 such source code modifications. See the man page and header files.
86 2540f7356cb74f6c5b75326c6d38a066edd796361fd7d4ed26e494d9856fed8f 1183225 gc-8.2.0.tar.gz
89 [FILE:709:manifests/plist.single]
90 %%THREADED-ON%%include/gc/gc_pthread_redirects.h
114 libcord.so.%%SOMAJOR%%
115 libcord.so.%%SOVERSION%%
118 libgc.so.%%GCVERSION%%
120 libgccpp.so.%%CPPMAJOR%%
121 libgccpp.so.%%CPPVERSION%%
123 libgctba.so.%%TBAMAJOR%%
124 libgctba.so.%%TBAVERSION%%
127 BDWgcConfigVersion.cmake
128 BDWgcTargets-release.cmake
130 lib/pkgconfig/bdw-gc.pc
131 share/man/man3/gc.3.gz
134 [FILE:473:patches/patch-configure]
135 --- configure.orig 2021-09-29 19:23:06 UTC
137 @@ -16833,7 +16833,7 @@ case "$host" in
139 # We never want libdl on darwin. It is a fake libdl that just ends up making
140 # dyld calls anyway. The same applies to Cygwin.
141 - *-*-cygwin* | *-*-darwin* | *-*-msys*)
142 + *-*-cygwin* | *-*-darwin* | *-*-msys* | *-*-netbsd* | *-*-dragonfly* | *-*-freebsd* )
145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5