pkgsrc/devel/lmdbg/Makefile

40 lines
1 KiB
Makefile
Raw Normal View History

2017-08-16 22:21:03 +02:00
# $NetBSD: Makefile,v 1.17 2017/08/16 20:21:08 wiz Exp $
#
DISTNAME= lmdbg-1.2.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lmdbg/}
MASTER_SITES+= http://mova.org/~cheusov/pub/lmdbg/
2011-10-09 12:02:44 +02:00
MAINTAINER= cheusov@NetBSD.org
2017-08-16 22:21:03 +02:00
HOMEPAGE= https://sourceforge.net/projects/lmdbg/
COMMENT= Lightweight Modular malloc Debugger
LICENSE= mit
Update to 1.2.0 New tool lmdbg-head(1) was implemented, see the man page for details. README: recomendations for procfs lmdbg-sym: - Much simplier (and correct) method for address convertion was implemented. As a result lmdbg-sym works correctly on AltLinux where ASLR and PIE are enabled by default. - Breakpoint are removed very soon after creation. This saves a lot of memory consumed by gdb(1) and dramatically speeds up it. lmdbg-run: - Arguments are passed correctly to progname - On glibc-based systems (e.g. Linux) malloc hooks are not used anymore as they are declared deprecated - Addresses from lmdbg.c are not included to stacktrace - Additional checks for address (returned by stacktrace(3)) correctness. As a result gdb(1) doesn't crash and therefore lmdbg-sym(1) work correctly. - stacktrace(3) doesn't not crash anymore on NetBSD/x64_64 with system utilities. See implementation details in stacktrace.c. - New option -N - Option -v works correctly with non-zero exit status of progname. - Exits with error if progname is not specified. lmdbg-stat: - Fix for NULL dereference appeared if free(3) or realloc(3) stacktrace is seen without appropriate malloc(3) stacktrace. AWK interpreter is found at configure time via MKC_REQUIRE_PROGS. Build and regression tests were fixed for non-empty MAKEOBJDIR case. ChangeLog file is never installed. lmdbg-s2m and lmsbg-m2s was moved to libexec dir. mk-configure >= 0.24.0 is required for build. Fixes, improvements and additions in regression tests.
2013-08-07 23:07:25 +02:00
BUILD_DEPENDS+= mk-configure>=0.24.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
BROKEN_ON_PLATFORM= Darwin-*-*
TEST_TARGET= test
REPLACE_SH= scripts/lmdbg*.in tests/test.sh
2011-05-10 10:10:13 +02:00
REPLACE_INTERPRETER+= runawk
REPLACE.runawk.old= .*runawk
REPLACE.runawk.new= ${PREFIX}/bin/runawk
REPLACE_FILES.runawk= scripts/lmdbg-*.in
Update to 1.2.0 New tool lmdbg-head(1) was implemented, see the man page for details. README: recomendations for procfs lmdbg-sym: - Much simplier (and correct) method for address convertion was implemented. As a result lmdbg-sym works correctly on AltLinux where ASLR and PIE are enabled by default. - Breakpoint are removed very soon after creation. This saves a lot of memory consumed by gdb(1) and dramatically speeds up it. lmdbg-run: - Arguments are passed correctly to progname - On glibc-based systems (e.g. Linux) malloc hooks are not used anymore as they are declared deprecated - Addresses from lmdbg.c are not included to stacktrace - Additional checks for address (returned by stacktrace(3)) correctness. As a result gdb(1) doesn't crash and therefore lmdbg-sym(1) work correctly. - stacktrace(3) doesn't not crash anymore on NetBSD/x64_64 with system utilities. See implementation details in stacktrace.c. - New option -N - Option -v works correctly with non-zero exit status of progname. - Exits with error if progname is not specified. lmdbg-stat: - Fix for NULL dereference appeared if free(3) or realloc(3) stacktrace is seen without appropriate malloc(3) stacktrace. AWK interpreter is found at configure time via MKC_REQUIRE_PROGS. Build and regression tests were fixed for non-empty MAKEOBJDIR case. ChangeLog file is never installed. lmdbg-s2m and lmsbg-m2s was moved to libexec dir. mk-configure >= 0.24.0 is required for build. Fixes, improvements and additions in regression tests.
2013-08-07 23:07:25 +02:00
MAKE_ENV+= AWK=${AWK:Q}
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"