aboutsummaryrefslogtreecommitdiff
path: root/lib/libipsec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libipsec/Makefile')
-rw-r--r--lib/libipsec/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libipsec/Makefile b/lib/libipsec/Makefile
index 83c17ac15303..bac3dd2ec52c 100644
--- a/lib/libipsec/Makefile
+++ b/lib/libipsec/Makefile
@@ -30,7 +30,10 @@ LIB= ipsec
SHLIB_MAJOR= 0
SHLIB_MINOR= 0
CFLAGS+=-I${.OBJDIR}
-CFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6
+CFLAGS+=-DIPSEC_DEBUG -DIPSEC
+.if !defined(NOINET6)
+CFLAGS+=-DINET6
+.endif
.PATH: ${.CURDIR}/../../sys/netkey
SRCS= pfkey.c pfkey_dump.c