i386/73865: NOINET6=yes in /etc/make.conf ignored

Jeremy Chadwick freebsd at jdc.parodius.com
Sun Feb 6 18:00:42 PST 2005


The following reply was made to PR i386/73865; it has been noted by GNATS.

From: Jeremy Chadwick <freebsd at jdc.parodius.com>
To: freebsd-gnats-submit at FreeBSD.org, vman at tmok.com
Cc:  
Subject: Re: i386/73865: NOINET6=yes in /etc/make.conf ignored
Date: Sun, 6 Feb 2005 18:01:25 -0800

 Included here is the applicable patch.  Thankfully someone had already
 written the main framework in the .c and .h files (re: #ifdef INET6).
 
 This is patch applies to src/usr.sbin/rpcbind/Makefile.
 
 -- 
 | Jeremy Chadwick                                 jdc at parodius.com |
 | Parodius Networking                        http://www.parodius.com/ |
 | UNIX Systems Administrator                   Mountain View, CA, USA |
 | Making life hard for others since 1977.                             |
 
 ----- SNIP -----
 
 --- rpcbind/Makefile.orig	Fri Apr  4 09:49:18 2003
 +++ rpcbind/Makefile	Sun Feb  6 17:57:07 2005
 @@ -13,7 +13,11 @@
  	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(NOINET6)
 +CFLAGS+= -DINET6
 +.endif
  
  DPADD=	${LIBWRAP} ${LIBUTIL}
  LDADD=	-lwrap -lutil


More information about the freebsd-i386 mailing list