f77dfa401b
== [8.0.4] 2019-03-02 == * Avoid a full GC when growing finalizer tables if in incremental mode * Avoid potential race in hb_sz access between realloc and reclaim_block * Avoid test.o rebuild on tests folder timestamp change (Makefile.direct) * Avoid unexpected heap growth in gctest caused by GC_disable * Ensure result of every variant of MS_TIME_DIFF has unsigned long type * Fix 'duplicate symbol' error for tests using multiple static libs (OS X) * Fix 'undefined reference to __data_start' linker error (Android/aarch64) * Fix 'unexpected mark stack overflow' abort in push_all_stack * Fix 'wrong __data_start/_end pair' error on Android * Fix BSD_TIME variant of MS_TIME_DIFF for the case of a.tv_usec < b.tv_usec * Fix GetThreadContext stale register values use if WoW64 (Win32) * Fix invalid initializer of CLOCK_TYPE variables if BSD_TIME * Fix thread_info() count argument value (OS X) * Support de_win.c compilation by Makefile.direct (cord/de)
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.99 2019/04/07 22:02:20 wiz Exp $
|
|
|
|
DISTNAME= gc-8.0.4
|
|
PKGNAME= ${DISTNAME:S/gc/boehm-gc/}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.hboehm.info/gc/gc_source/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.hboehm.info/gc/
|
|
COMMENT= Garbage collection and memory leak detection for C and C++
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --enable-cplusplus
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
|
|
PKGCONFIG_OVERRIDE= bdw-gc.pc.in
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man3
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MDarwin-10.6.*)
|
|
CFLAGS+= -D_XOPEN_SOURCE
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/gc.3
|
|
|
|
# historical pkgsrc test target, can be removed in one of the next updates
|
|
.PHONY: manual-do-test
|
|
manual-do-test:
|
|
cd ${WRKSRC} && \
|
|
${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \
|
|
${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10
|
|
|
|
.include "../../devel/libatomic_ops/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|