aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ltrace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ltrace/Makefile')
-rw-r--r--sysutils/ltrace/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/ltrace/Makefile b/sysutils/ltrace/Makefile
index 2de5c81f0baf..27f819c4b845 100644
--- a/sysutils/ltrace/Makefile
+++ b/sysutils/ltrace/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://utopia.knoware.nl/users/driehuis/
DISTNAME= ${PORTNAME}-${PORTVERSION}-fbsd
MAINTAINER= ports@FreeBSD.org
-COMMENT= Dynamic Library Tracer -- similar to strace, but it traces library calls
+COMMENT= Dynamic Library Tracer -- similar to strace, but trace library calls
# Although there is sparc code under the Linux/ directory, there is nothing
# other than i386 in the FreeBSD/ directory as of 2003-18-06.
@@ -23,12 +23,15 @@ ONLY_FOR_ARCHS= i386
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+PLIST_FILES= bin/ltrace etc/ltrace.conf
+
MAN1= ltrace.1
post-patch:
${REINPLACE_CMD} \
-e 's|"/etc/ltrace.conf"|"${PREFIX}/etc/ltrace.conf"|g' \
${WRKSRC}/ltrace.c
+ ${REINPLACE_CMD} -e 's|^\(CC\)|#\1|' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ltrace ${PREFIX}/bin