mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 5 additions and 1 deletions
|
|
@ -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 a new issue