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:
parent
6acae67129
commit
f91072f72e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156337
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user