summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdmatch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdmatch/Makefile')
-rw-r--r--usr.sbin/tcpdmatch/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/tcpdmatch/Makefile b/usr.sbin/tcpdmatch/Makefile
index 2370e9c..cbd61aa 100644
--- a/usr.sbin/tcpdmatch/Makefile
+++ b/usr.sbin/tcpdmatch/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
PROG= tcpdmatch
@@ -8,7 +10,7 @@ SRCS= tcpdmatch.c fakelog.c inetcf.c scaffold.c
CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10
-.if !defined(NO_INET6)
+.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
OpenPOWER on IntegriCloud