summaryrefslogtreecommitdiffstats
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 a943651..2936984 100644
--- a/usr.sbin/tcpdchk/Makefile
+++ b/usr.sbin/tcpdchk/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
PROG= tcpdchk
@@ -9,7 +11,7 @@ SRCS= tcpdchk.c fakelog.c inetcf.c scaffold.c
CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DPROCESS_OPTIONS \
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
-.if !defined(NO_INET6)
+.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
OpenPOWER on IntegriCloud