boehm-gc: adopted port

This commit is contained in:
Tim Biermann 2021-01-29 12:36:19 +00:00
parent 946797c509
commit 1403c37056
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 15 additions and 15 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Y0S3CoNhaomz7pCkLzrGD1RTvUvCN64azwGYjIJV4HHLiDp13KFt3rVCshNJDeUOaZUl0iGa13n7UycRUjOpgM=
SHA256 (Pkgfile) = 304ffae6ffc5d0b3b3cc288981eb103e53cf23c108b92116fadd42e334c1c936
RWSE3ohX2g5d/YaIICbs4ajOSl81OWuyD/S2IufhmB0UMqQzi3KDShiQkzgvbwvMlekm62CnW0bv4gx55AWt+GZeDro2zZvXsAI=
SHA256 (Pkgfile) = 6f0e1e3b106b939f8b0d28b6fe7062f86315c0efe91e8360567e448bdc5bdc23
SHA256 (.footprint) = 2e55b0bf5299364dae405c2d9ac83de73234b414f675f0a8b433a2f78d9cde39
SHA256 (gc-8.0.4.tar.gz) = 436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d
SHA256 (libatomic_ops-7.6.10.tar.gz) = 587edf60817f56daf1e1ab38a4b3c729b8e846ff67b4f62a6157183708f099af

View File

@ -1,27 +1,27 @@
# Description: Garbage collection and memory leak detection for C and C++
# URL: https://hboehm.info/gc/
# Maintainer: Thomas Penteker, tek at serverop dot de
# Maintainer: Tim Biermann, tbier at posteo dot de
name=boehm-gc
version=8.0.4
release=1
source=(https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz
https://github.com/ivmai/libatomic_ops/releases/download/v7.6.10/libatomic_ops-7.6.10.tar.gz)
https://github.com/ivmai/libatomic_ops/releases/download/v7.6.10/libatomic_ops-7.6.10.tar.gz)
build () {
cd gc-$version
cd gc-$version
ln -s ../libatomic_ops-7.6.10 libatomic_ops
ln -s ../libatomic_ops-7.6.10 libatomic_ops
./configure \
--prefix=/usr \
--enable-threads=pthreads \
--enable-static \
--enable-shared
make
make DESTDIR=$PKG install
./configure \
--prefix=/usr \
--enable-threads=pthreads \
--enable-static \
--enable-shared
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
rm -r $PKG/usr/share/doc
install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
}