aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdchk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdchk/Makefile')
-rw-r--r--usr.sbin/tcpdchk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/tcpdchk/Makefile b/usr.sbin/tcpdchk/Makefile
index 86639f71fff7..3393011498fe 100644
--- a/usr.sbin/tcpdchk/Makefile
+++ b/usr.sbin/tcpdchk/Makefile
@@ -11,7 +11,9 @@ SRCS= tcpdchk.c fakelog.c inetcf.c scaffold.c
CFLAGS= -DREAL_DAEMON_DIR=\"/usr/libexec\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
-CFLAGS+=-DINET6 -DUSE_GETIPNODEBY
+.if !defined(NOINET6)
+CFLAGS+=-DINET6
+.endif
DPADD= ${LIBWRAP}
LDADD= -lwrap