diff options
author | delphij <delphij@FreeBSD.org> | 2005-01-22 19:35:48 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-01-22 19:35:48 +0000 |
commit | 99a68ccb1f502983fd26253292347237e51657c3 (patch) | |
tree | 27043f8089cc0ceef39971af7faf636f1fa31ba3 /usr.bin | |
parent | abb2aba4319abe060b8adfb7c5a9fc403b7fde49 (diff) | |
download | FreeBSD-src-99a68ccb1f502983fd26253292347237e51657c3.zip FreeBSD-src-99a68ccb1f502983fd26253292347237e51657c3.tar.gz |
Make sure that we don't define INET6 when NO_INET6 is defined.
Without this change, when running netstat with a kernel without
INET6 built in, you will get a complain at the end of "netstat -s"
output.
X-MFC: NO_INET6 was called "NOINET6" on RELENG_5
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile index 86a43d5..3411e13 100644 --- a/usr.bin/netstat/Makefile +++ b/usr.bin/netstat/Makefile @@ -5,7 +5,9 @@ PROG= netstat SRCS= if.c inet.c inet6.c main.c mbuf.c mcast.c mroute.c ipx.c route.c \ unix.c atalk.c netgraph.c mroute6.c ipsec.c CFLAGS+=-DIPSEC +.if !defined(NO_INET6) CFLAGS+=-DINET6 +.endif WARNS?= 2 NO_WERROR= |