From 6da4a6e95b75821c569d942e970b07d58d345ad8 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 17 May 2020 15:49:39 +0800 Subject: [PATCH] ndp(8): Tweak Makefile against the tcpdump update The new tcpdump enables IPv6 by default, so there is no need to define the 'INET6' flag. Clean the style a bit. --- usr.sbin/ndp/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/ndp/Makefile b/usr.sbin/ndp/Makefile index c50e7b08d6..e16d0af6de 100644 --- a/usr.sbin/ndp/Makefile +++ b/usr.sbin/ndp/Makefile @@ -11,8 +11,8 @@ # AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT # LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE. +# # $FreeBSD: src/usr.sbin/ndp/Makefile,v 1.1.2.1 2001/04/25 12:10:20 ru Exp $ -# $DragonFly: src/usr.sbin/ndp/Makefile,v 1.4 2006/12/25 02:37:09 pavalos Exp $ .PATH: ${.CURDIR}/../../contrib/tcpdump @@ -22,9 +22,7 @@ MAN= ndp.8 WARNS?= 2 NO_STRICT_ALIASING= -CFLAGS+=-DINET6 CFLAGS+= -I${.CURDIR}/../tcpdump -I${.CURDIR}/../../contrib/tcpdump CFLAGS+= -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" - .include -- 2.41.0