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.2/
15 SITES[old]= http://www.hboehm.info/gc/gc_source/
16 DISTFILE[1]= gc-8.2.2.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:dev:standard
28 BUILDRUN_DEPENDS= libatomic_ops:primary:standard
30 USES= cpe cmake pkgconfig c++:single
34 LICENSE= BSD2CLAUSE:single
35 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING
38 CPE_PRODUCT= garbage_collector
39 CPE_VENDOR= boehm-demers-weiser
40 FPC_EQUIVALENT= devel/boehm-gc
42 INSTALL_REQ_TOOLCHAIN= yes
44 PLIST_SUB= GCVERSION=1.5.1
51 CMAKE_ARGS= -Denable_docs:BOOL=OFF
52 -Denable_cplusplus:BOOL=ON
54 [THREADED].DESCRIPTION= Enable posix thread support
55 [THREADED].CMAKE_ARGS_OFF= -Denable_threads:BOOL=OFF
56 [THREADED].CMAKE_ARGS_ON= -Denable_threads:BOOL=ON
57 -Denable_parallel_mark:BOOL=ON
59 [REDIRECT].DESCRIPTION= Enable malloc redirection support
60 [REDIRECT].CMAKE_ARGS_OFF= -Denable_redirect_malloc:BOOL=OFF
61 [REDIRECT].CMAKE_ARGS_ON= -Denable_redirect_malloc:BOOL=ON
64 ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
67 ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${STAGEDIR}${MANPREFIX}/man/man3/gc.3
68 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
70 [FILE:741:descriptions/desc.single]
71 The Boehm-Weiser garbage collection package, for C and C++ -
72 garbage collection and memory leak detection libraries.
74 A garbage collector is something which automatically frees malloc'd
75 memory for you by working out what parts of memory your program
76 no longer has pointers to. As a result, garbage collectors can also
77 inform you of memory leaks (if they find memory they can free, it means
78 you have lost all of your pointers to it, but you didn't free it).
80 C programs may be linked against either of these, and should run (with
81 GC or leak detection) without change. C++ programs must include a header
82 to use garbage collection, though leak detection should work without
83 such source code modifications. See the man page and header files.
87 f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0 1200115 gc-8.2.2.tar.gz
90 [FILE:709:manifests/plist.single]
91 %%THREADED-ON%%include/gc/gc_pthread_redirects.h
115 libcord.so.%%SOMAJOR%%
116 libcord.so.%%SOVERSION%%
119 libgc.so.%%GCVERSION%%
121 libgccpp.so.%%CPPMAJOR%%
122 libgccpp.so.%%CPPVERSION%%
124 libgctba.so.%%TBAMAJOR%%
125 libgctba.so.%%TBAVERSION%%
128 BDWgcConfigVersion.cmake
129 BDWgcTargets-release.cmake
131 lib/pkgconfig/bdw-gc.pc
132 share/man/man3/gc.3.gz
135 [FILE:473:patches/patch-configure]
136 --- configure.orig 2022-08-26 18:45:05 UTC
138 @@ -16922,7 +16922,7 @@ case "$host" in
140 # We never want libdl on darwin. It is a fake libdl that just ends up making
141 # dyld calls anyway. The same applies to Cygwin.
142 - *-*-cygwin* | *-*-darwin* | *-*-msys*)
143 + *-*-cygwin* | *-*-darwin* | *-*-msys* | *-*-netbsd* | *-*-dragonfly* | *-*-freebsd* )
146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5