pkgsrc/devel/boehm-gc/Makefile
wiz 866d8ac347 Update to 6.7:
Since 6.6:
 - Add "int" to Solaris "end" and "etext" declaration in gc.h.  Declared
   the symbols with underscores and as arrays, since that's what's actually
   used.  Perhaps this could all just be removed?  (Thanks to John Bowman.)
 - Fixed ARM GC_test_and_set code.  (Thanks to Kazu Hirata and Paul Brook.)
 - Added casts for assignments to hb_last_reclaimed, which truncate the
   value.  Added a cast to GC_adj_words_allocd.  Use GetModuleHandleA
   when retrieving a handle to kernel32.dll under win32.  (Thanks to the
   Visual Prolog developers.)
 - Added Tandem S-Series support.  (Thanks to Craig McDaniel.  A modified
   version of his patch was applied, and hence breakage is probably not
   his fault.)
 - Remove spurious gc:: qualifier for operator delete[] in gc_cpp.h.
   (Thanks to Hanno Boeck.)
 - Changed a test for LINUX in config_macros.h to one for __linux__.
 - Fix ppc 64 test_and_set code by removing it.  (Thanks to Christian
   Thalinger.)
 - Add prototypes for GC_finalizer_notifier and GC_thr_init.  (Thanks to
   David Ayers.)
 - Use ld instead of nonexistent ldz instruction in Darwin FindTopOfStack.
   (Thanks to Andreas Tobler.)
 - Add support for Darwin/X86.  (Thanks to Geoff Norton and the Mono
   developers.)
 - Merge in some recent gcc fixes.  Add ppc64 asm code.  (Thanks to Bryce
   McKinley and other gcj developers.)
 - Scan MEM_PRIVATE sections under Windows ME and predecessors.
 - Interior pointers with some largish offsets into large objects could
   be ignored, if GC_all_interior_pointers was set.  (Oddly this worked
   correctly for stack references if it was not set.  Otherwise it failed
   for both stack and heap references.)  Thanks to Andrew McKinlay for the
   critical test case.
 - Integrated Tatsuya Bizenn's NETBSD threads support, with some
   minimally tested changes.
 - Added GC_strdup and friends to make leak detection work correctly
   for strdup clients.  (Thanks to Jon Moore.)  Fixed the existing strdup
   with malloc redirection to handle a null malloc return correctly.
 - Fix Makefile.am, so it handles exe extensions under Cygwin correctly
   for gctest.
2006-03-07 02:52:40 +00:00

54 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.54 2006/03/07 02:52:40 wiz Exp $
DISTNAME= gc6.7
PKGNAME= ${DISTNAME:S/gc/boehm-gc-/}
CATEGORIES= devel
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.hpl.hp.com/personal/Hans_Boehm/gc/
COMMENT= Garbage collection and memory leak detection for C and C++
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-cplusplus
INSTALLATION_DIRS= ${PKGMANDIR}/man3
MAKE_ENV+= COPTS=${CFLAGS:M*:Q}
#TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
CONFIGURE_ARGS+= --disable-threads
.endif
.if !empty(EXTRACT_USING:Mpax)
EXTRACT_ELEMENTS= -u
.endif
.if ${MACHINE_ARCH} == "mipsel"
CFLAGS+= -D__MIPSEL__
.endif
post-extract:
${MV} ${WRKSRC}/doc/gc.man ${WRKSRC}/doc/gc.man.in
pre-build:
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
${WRKSRC}/doc/gc.man.in > ${WRKSRC}/doc/gc.man
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/${PKGMANDIR}/man3/gc.3
do-test:
@cd ${WRKSRC}; \
${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \
${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10
.include "../../mk/bsd.pkg.mk"