summaryrefslogtreecommitdiffstats
path: root/sys/modules/pflog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/pflog/Makefile')
-rw-r--r--sys/modules/pflog/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/pflog/Makefile b/sys/modules/pflog/Makefile
index f4a83df..12ead12 100644
--- a/sys/modules/pflog/Makefile
+++ b/sys/modules/pflog/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../contrib/pf/net
KMOD= pflog
@@ -12,7 +14,7 @@ CFLAGS+= -I${.CURDIR}/../../contrib/pf
opt_inet.h:
echo "#define INET 1" > opt_inet.h
-.if !defined(NO_INET6)
+.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
echo "#define INET6 1" > opt_inet6.h
.endif
OpenPOWER on IntegriCloud