f6533445d5
Fix in regression tests. Now "make test" exits with non-zero status if something fails. lmdbg-run: - Zero addresses are removed from stacktraces generated by glibc's backtrace(3). This fixes asserts in lmdbg-stat(1). - Double "0x" in "info section" were fixed (seen on NetBSD). - backtrace(3) from libexecinfo is used instead of builtin implementation if the library and execinfo.h are available (FreeBSD, NetBSD). lmdbg-sym: - Fixes. Sometimes addresses were converted to symbols incorrectly. The problem was seen on modern Linux distros with recent gdb(1). lmdbg-stat: - Now incompletly read lines (having no LF in the end) are ignored. This fixes crashes and therefore empty output or lmdbg(1) when analysed program is killed. - Alternative implementation written in awk was removed. Build infrastructure was converted to 2-level dirs. This requires mk-configure>=0.23.0 for build. Minor clean-ups in man pages and Makefiles.
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2012/09/02 18:48:19 cheusov Exp $
|
|
#
|
|
|
|
DISTNAME= lmdbg-1.1.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lmdbg/} \
|
|
http://mova.org/~cheusov/pub/lmdbg/
|
|
|
|
MAINTAINER= cheusov@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/lmdbg/
|
|
COMMENT= Lightweight Modular malloc Debugger
|
|
LICENSE= mit
|
|
|
|
BUILD_DEPENDS+= mk-configure>=0.23.0:../../devel/mk-configure
|
|
DEPENDS+= pipestatus-[0-9]*:../../devel/pipestatus
|
|
DEPENDS+= runawk>=1.3.1:../../lang/runawk
|
|
#DEPENDS+= gdb-[0-9]*:../../devel/gdb
|
|
|
|
ONLY_FOR_COMPILER= gcc icc clang
|
|
NOT_FOR_PLATFORM= Darwin-*-*
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
TEST_TARGET= test
|
|
|
|
REPLACE_SH= scripts/lmdbg*.in tests/test.sh
|
|
|
|
REPLACE_INTERPRETER+= runawk
|
|
REPLACE.runawk.old= .*runawk
|
|
REPLACE.runawk.new= ${PREFIX}/bin/runawk
|
|
REPLACE_FILES.runawk= scripts/lmdbg-*.in
|
|
|
|
post-install:
|
|
cd ${WRKSRC} && \
|
|
${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} install-doc
|
|
|
|
.include "../../devel/mk-configure/mk-c.mk"
|
|
.include "../../devel/libjudy/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|