Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ndp use new tcpdump.



details:   https://anonhg.NetBSD.org/src/rev/99904183e6a9
branches:  trunk
changeset: 759553:99904183e6a9
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 12 18:50:31 2010 +0000

description:
use new tcpdump.

diffstat:

 usr.sbin/ndp/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r dfd5c13987fb -r 99904183e6a9 usr.sbin/ndp/Makefile
--- a/usr.sbin/ndp/Makefile     Sun Dec 12 18:40:01 2010 +0000
+++ b/usr.sbin/ndp/Makefile     Sun Dec 12 18:50:31 2010 +0000
@@ -1,16 +1,19 @@
-# $NetBSD: Makefile,v 1.7 2009/04/22 15:23:06 lukem Exp $
+# $NetBSD: Makefile,v 1.8 2010/12/12 18:50:31 christos Exp $
 
 .include <bsd.own.mk>
 
 USE_FORT?= yes # network client
 
-.PATH: ${NETBSDSRCDIR}/dist/tcpdump
+TCPDUMP= ${NETBSDSRCDIR}/external/bsd/tcpdump/dist
+.PATH: ${TCPDUMP}
 
 PROG=  ndp
 SRCS=  ndp.c gmt2local.c
 MAN=   ndp.8
 
+.if ${MKINET6} != "no"
 CPPFLAGS+=-DINET6
-CPPFLAGS+=-I. -I${NETBSDSRCDIR}/dist/tcpdump
+.endif
+CPPFLAGS+=-I. -I${TCPDUMP}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index