View | Details | Raw Unified | Return to bug 102325
Collapse All | Expand All

(-)ltrace/Makefile (-15 / +6 lines)
Lines 7-23 Link Here
7
#
7
#
8
8
9
PORTNAME=	ltrace
9
PORTNAME=	ltrace
10
PORTVERSION=	0.3.6
10
PORTVERSION=	0.4
11
PORTREVISION=	1
12
CATEGORIES=	sysutils
11
CATEGORIES=	sysutils
13
MASTER_SITES=	http://utopia.knoware.nl/users/driehuis/
12
MASTER_SITES=	http://www.cs.huji.ac.il/~bla/ports/
14
DISTNAME=	${PORTNAME}-${PORTVERSION}-fbsd
15
13
16
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	bla@cs.huji.ac.il
17
COMMENT=	Dynamic Library Tracer -- similar to strace, but trace library calls
15
COMMENT=	Dynamic Library Tracer -- similar to strace, but trace library calls
18
16
19
# Although there is sparc code under the Linux/ directory, there is nothing
17
LIB_DEPENDS=	elf.0:${PORTSDIR}/devel/libelf
20
# other than i386 in the FreeBSD/ directory as of 2003-18-06.
18
19
# The FreeBSD port exists only for i386
21
ONLY_FOR_ARCHS=	i386
20
ONLY_FOR_ARCHS=	i386
22
21
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
Lines 29-37 Link Here
29
MAN1=		ltrace.1
28
MAN1=		ltrace.1
30
29
31
post-patch:
30
post-patch:
32
	${REINPLACE_CMD} \
33
		-e 's|"/etc/ltrace.conf"|"${PREFIX}/etc/ltrace.conf"|g' \
34
		${WRKSRC}/ltrace.c
35
	${REINPLACE_CMD} -e 's|^\(CC\)|#\1|' ${WRKSRC}/Makefile.in
31
	${REINPLACE_CMD} -e 's|^\(CC\)|#\1|' ${WRKSRC}/Makefile.in
36
32
37
do-install:
33
do-install:
Lines 39-47 Link Here
39
	${INSTALL_DATA} ${WRKSRC}/etc/ltrace.conf ${PREFIX}/etc
35
	${INSTALL_DATA} ${WRKSRC}/etc/ltrace.conf ${PREFIX}/etc
40
	${INSTALL_MAN} ${WRKSRC}/ltrace.1 ${PREFIX}/man/man1
36
	${INSTALL_MAN} ${WRKSRC}/ltrace.1 ${PREFIX}/man/man1
41
37
42
UP != uname -p
43
.if ${UP} == "i386"
44
CXXFLAGS +=	-O3 -funroll-loops -mtune=pentiumpro -fomit-frame-pointer -pipe
45
CFLAGS +=	-O3 -funroll-loops -mtune=pentiumpro -fomit-frame-pointer -pipe
46
.endif
47
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)ltrace/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ltrace-0.3.6-fbsd.tar.gz) = 305157fa70baaa10e917f5537ce47d1f
1
MD5 (ltrace-0.4.tar.gz) = 31da81c12ef3fc976c374b3a0cd1494f
2
SHA256 (ltrace-0.3.6-fbsd.tar.gz) = be1e51eca2ed41d76f7cfa3091a79cb0098c197c9e4f8ab30e234a97897def04
2
SHA256 (ltrace-0.4.tar.gz) = 22886749d621277adda5d404dedbb807a78d850c8246d35cb8cb491724d6d2c7
3
SIZE (ltrace-0.3.6-fbsd.tar.gz) = 56425
3
SIZE (ltrace-0.4.tar.gz) = 155468
(-)ltrace/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
ltrace is a dynamic library tracer.  ltrace is a debugging tool, similar to
1
ltrace is a dynamic library tracer.  ltrace is a debugging tool, similar to
2
strace, but it traces library calls instead of system calls.
2
strace, but it traces library calls instead of system calls.
3
3
4
WWW: http://utopia.knoware.nl/users/driehuis/
4
WWW: http://packages.debian.org/unstable/utils/ltrace.html

Return to bug 102325