diff options
author | matteo <matteo@FreeBSD.org> | 2006-03-06 10:07:52 +0000 |
---|---|---|
committer | matteo <matteo@FreeBSD.org> | 2006-03-06 10:07:52 +0000 |
commit | fd9a2ba9436fd5c33bac662e086b643e52c9e008 (patch) | |
tree | ecb31918c15293c688917d1ac906b24ad50295b7 /usr.sbin/rpcbind | |
parent | 67fc39f6428e518f66dd42706fe1cd9e4deabf78 (diff) | |
download | FreeBSD-src-fd9a2ba9436fd5c33bac662e086b643e52c9e008.zip FreeBSD-src-fd9a2ba9436fd5c33bac662e086b643e52c9e008.tar.gz |
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
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r-- | usr.sbin/rpcbind/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/rpcbind/Makefile b/usr.sbin/rpcbind/Makefile index f597ce2..a52a0be 100644 --- a/usr.sbin/rpcbind/Makefile +++ b/usr.sbin/rpcbind/Makefile @@ -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 |