summaryrefslogtreecommitdiffstats
path: root/libexec/tcpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/tcpd/Makefile')
-rw-r--r--libexec/tcpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/tcpd/Makefile b/libexec/tcpd/Makefile
index 6a8f0e2..6bb6080 100644
--- a/libexec/tcpd/Makefile
+++ b/libexec/tcpd/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
PROG= tcpd
@@ -9,7 +11,7 @@ CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
-DFACILITY=LOG_DAEMON
-.if !defined(NO_INET6)
+.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
OpenPOWER on IntegriCloud