summaryrefslogtreecommitdiffstats
path: root/sys/modules/ipfw
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/ipfw')
-rw-r--r--sys/modules/ipfw/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/ipfw/Makefile b/sys/modules/ipfw/Makefile
index 5c433e2..3a305f9 100644
--- a/sys/modules/ipfw/Makefile
+++ b/sys/modules/ipfw/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../netinet
KMOD= ipfw
@@ -17,7 +19,7 @@ CFLAGS+= -DIPFIREWALL
#
.if !defined(KERNBUILDDIR)
-.if !defined(NO_INET6)
+.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
.endif
OpenPOWER on IntegriCloud