summaryrefslogtreecommitdiff
path: root/net/tcptrace
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 07:38:44 +0000
committersnj <snj@pkgsrc.org>2004-04-25 07:38:44 +0000
commit21efdd139e8020ec569a06c943ce08c1a9e8bfe1 (patch)
tree98a9e104c237f5e1905474371834c1a214768301 /net/tcptrace
parent124c08223318aabd7419b3aeca428c2ff403d364 (diff)
downloadpkgsrc-21efdd139e8020ec569a06c943ce08c1a9e8bfe1.tar.gz
Convert to buildlink3 and use LDFLAGS.SunOS for simplicity.
Diffstat (limited to 'net/tcptrace')
-rw-r--r--net/tcptrace/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/net/tcptrace/Makefile b/net/tcptrace/Makefile
index 9cefb13bcb9..204131af995 100644
--- a/net/tcptrace/Makefile
+++ b/net/tcptrace/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2004/02/14 00:54:45 grant Exp $
+# $NetBSD: Makefile,v 1.21 2004/04/25 07:38:44 snj Exp $
# FreeBSD Id: Makefile,v 1.3 1997/07/19 19:43:36 fenner Exp
#
@@ -11,17 +11,13 @@ HOMEPAGE= http://www.tcptrace.org/
COMMENT= TCP dump file analysis tool
GNU_CONFIGURE= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
ALL_TARGET= tcptrace
DOCFILES= COPYRIGHT FAQ README README.tput_graphs
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LDFLAGS+= -lnsl -lsocket -lm
-.endif
+LDFLAGS.SunOS+= -lnsl -lsocket -lm
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcptrace ${PREFIX}/bin
@@ -31,6 +27,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/tcptrace
.endfor
-.include "../../archivers/bzip2/buildlink2.mk"
-.include "../../net/libpcap/buildlink2.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"