87.6. bdwgc-8.2.12
The Boehm conservative garbage collector — w3m allocates through it
8.2.12-2 · Boehm-GC · 0.2 SBU · 840.8 KiB, 69 files · 41_system, 261 of 1047 · ports/core/devlibs/bdwgc
Homepage: https://www.hboehm.info/gc/
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/devlibs.txt:
w3m allocates through the Boehm collector and its configure refuses to run without gc.h.
Depends on: pkgconf.
Required by (3): guile, inkscape, w3m.
Sources: bdwgc-8.2.12.tar.gz (1.2 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install bdwgc'
build.sh:
./configure --prefix=/usr --libdir=/usr/lib --disable-static \
--enable-threads=posix --enable-thread-local-alloc \
--enable-cplusplus --with-libatomic-ops=none
make
make DESTDIR=$PKG install
install -d "$PKG/usr/share/licenses/$name"
sed -n '/^## Copyright & Warranty/,$p' README.md > "$PKG/usr/share/licenses/$name/LICENSE"
grep -q 'ABSOLUTELY NO WARRANTY' "$PKG/usr/share/licenses/$name/LICENSE"
Libraries: libcord.so, libgc.so, libgccpp.so, libgctba.so.
Directories: /usr/include/gc, /usr/share/doc/gc, /usr/share/licenses/bdwgc.