summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-26 08:36:46 +0000
committeryar <yar@FreeBSD.org>2006-07-26 08:36:46 +0000
commitdfd296d48ee6985b72f99646a758768fc9b2c604 (patch)
treed284a31222399c838792c277c9d171024d6c6c13 /lib/libc/net
parent082a928eacb8f601a18e18b1c8e3eeeeda799506 (diff)
downloadFreeBSD-src-dfd296d48ee6985b72f99646a758768fc9b2c604.zip
FreeBSD-src-dfd296d48ee6985b72f99646a758768fc9b2c604.tar.gz
Respect MK_INET6_SUPPORT.
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc
index 2d710d0..eadbb08 100644
--- a/lib/libc/net/Makefile.inc
+++ b/lib/libc/net/Makefile.inc
@@ -21,7 +21,11 @@ SRCS+= nscache.c nscachedcli.c
SYM_MAPS+=${.CURDIR}/net/Symbol.map
-CFLAGS+=-DINET6 -I${.OBJDIR}
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+=-DINET6
+.endif
+
+CFLAGS+=-I${.OBJDIR}
# name6.c refers res_private.h
CFLAGS+=-I${.CURDIR}/resolv
OpenPOWER on IntegriCloud