Subject: Re: build problem
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 04/19/2005 18:24:58
Luke Mewburn --> current-users (2005-04-18 01:55:59 +1000):
> On Sat, Apr 16, 2005 at 11:05:36AM +0200, Jukka Salmi wrote:
>   | Luke Mewburn --> current-users (2005-04-16 17:37:35 +1000):
>   | > On Fri, Apr 15, 2005 at 07:06:26PM +0200, Jachym Holecek wrote:
>   | >   | 
>   | >   | > [... snip diff ...]
>   | >   | > -.if (${MKINET6} != "no")
>   | >   | > +.if (${USE_INET6} != "no")
>   | >   | >  SUBDIR+= ping6 rtsol
>   | >   | >  .endif
>   | >   | 
>   | >   | .if (${MKINET6} != "no") && (${USE_INET6} != "no")
>   | >   | SUBDIR+= ping6 rtsol
>   | >   | .endif
>   | >   | 
>   | > 
>   | > That's not necessary; setting MKINET6=no will set USE_INET6=no,
>   | > so just checking the latter is sufficient.
>   | 
>   | So why do src/sbin/Makefile and src/usr.sbin/Makefile check the former
>   | instead? Is this a bug or am I missing something?
> 
> If we consider the installation of IPv6-specific tools
> like ping6 and rtsol as _users_ of IPv6 infrastructure,
> then arguably it's currently a "bug".

Hmm, libc includes INET6 code only if USE_INET6 != "no"; I don't see
where one could use MKINET6. Hints?

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~