Don't build IPv6 support if NO_INET6 was defined

PR:	kern/73865
Approved by:	re (scottl)
This commit is contained in:
matteo 2006-03-15 07:44:28 +00:00
parent 88ccf9e397
commit dcaaec9f0a

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