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.0.4/
15 SITES[old]= http://www.hboehm.info/gc/gc_source/
16 DISTFILE[1]= gc-8.0.4.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 libtool 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
42 CONFIGURE_ARGS= --enable-cplusplus
48 INSTALL_TARGET= install-strip
49 INSTALL_REQ_TOOLCHAIN= yes
51 PLIST_SUB= GCVERSION=1.4.3
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
61 [REDIRECT].DESCRIPTION= Enable malloc redirection support
62 [REDIRECT].CONFIGURE_ENABLE_BOTH= redirect-malloc
65 ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
66 ${REINPLACE_CMD} -e "s|: install-dist_pkgdataDATA|: |" \
70 ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${STAGEDIR}${MANPREFIX}/man/man3/gc.3
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.
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).
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.
89 436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d 1160528 gc-8.0.4.tar.gz
92 [FILE:492:manifests/plist.single]
108 gc_pthread_redirects.h
116 libcord.so.%%SOMAJOR%%
117 libcord.so.%%SOVERSION%%
120 libgc.so.%%GCVERSION%%
122 libgccpp.so.%%CPPMAJOR%%
123 libgccpp.so.%%CPPVERSION%%
124 lib/pkgconfig/bdw-gc.pc
125 share/man/man3/gc.3.gz
128 [FILE:279:patches/patch-configure]
129 --- configure.orig 2018-04-20 18:13:27 UTC
131 @@ -16172,6 +16172,9 @@ else
135 + *-freebsd*|*-dragonfly*)
139 # FIXME: This seems to be no longer needed as configured in gcconfig.h