aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2004-07-14 03:55:47 +0800
committerosa <osa@FreeBSD.org>2004-07-14 03:55:47 +0800
commit5626c81a9f6024844ff7b84a03863bdffd7ad82e (patch)
tree67de1cfca9c583edca0c709f5e4a824c2bba9d39 /sysutils
parentb5bfcc6d907e33ee123d60d48069a806b67aee7d (diff)
downloadfreebsd-ports-gnome-5626c81a9f6024844ff7b84a03863bdffd7ad82e.tar.gz
freebsd-ports-gnome-5626c81a9f6024844ff7b84a03863bdffd7ad82e.tar.zst
freebsd-ports-gnome-5626c81a9f6024844ff7b84a03863bdffd7ad82e.zip
Respect CC flag.
Make portlint(1) happy (fix long COMMENT). Move pkg-list's files to Makefile and remove pkg-plist.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ltrace/Makefile5
-rw-r--r--sysutils/ltrace/pkg-plist3
2 files changed, 4 insertions, 4 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
diff --git a/sysutils/ltrace/pkg-plist b/sysutils/ltrace/pkg-plist
deleted file mode 100644
index b0cb6419472c..000000000000
--- a/sysutils/ltrace/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $FreeBSD$
-bin/ltrace
-etc/ltrace.conf