mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
274690b38d
- Trim header Changes: Version -> 1.1.0 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. PR: ports/173706 [1] Submitted by: trociny (maintainer) [1] Feature safe: yes
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# Created by: Mikolaj Golub <to.my.trociny@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lmdbg
|
|
PORTVERSION= 1.1.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= trociny@FreeBSD.org
|
|
COMMENT= Lightweight malloc debugger
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= mk-configure>=0.23:${PORTSDIR}/devel/mk-configure
|
|
LIB_DEPENDS= Judy:${PORTSDIR}/devel/judy
|
|
RUN_DEPENDS= runawk:${PORTSDIR}/lang/runawk \
|
|
${LOCALBASE}/bin/pipestatus:${PORTSDIR}/devel/pipestatus
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
MKCMAKE?= ${LOCALBASE}/bin/mkcmake
|
|
|
|
PORTDOCS= ChangeLog LICENSE NEWS README TODO
|
|
|
|
MAN1= lmdbg-run.1 lmdbg-leaks.1 lmdbg-sysleaks.1 lmdbg-sym.1 lmdbg.1 \
|
|
lmdbg-stat.1 lmdbg-grep.1 lmdbg-sort.1
|
|
|
|
MKCMAKE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
|
|
MKCMAKE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
INSTALL_TARGET= install
|
|
.if !defined(NOPORTDOCS)
|
|
INSTALL_TARGET+=install-doc
|
|
.endif
|
|
|
|
do-build:
|
|
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
|
|
|
|
do-install:
|
|
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
|
|
|
|
.include <bsd.port.mk>
|