Don't build IPv6 support if NO_INET6 was defined

PR:		kern/73865
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
MFC after:	3 days
This commit is contained in:
Matteo Riondato 2006-03-06 10:07:52 +00:00
parent 6acae67129
commit f91072f72e

View File

@ -13,7 +13,11 @@ SRCS= check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \
rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c \
rpc_generic.c
CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DINET6 -DLIBWRAP
CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DLIBWRAP
.if !defined(NO_INET6)
CFLAGS+= -DINET6
.endif
DPADD= ${LIBWRAP} ${LIBUTIL}
LDADD= -lwrap -lutil