Subject: Re: CVS commit: basesrc
To: None <netbsd@arresum.inka.de>
From: None <Havard.Eidnes@runit.sintef.no>
List: source-changes
Date: 05/06/2000 19:33:16
> > Added Files:
> > 	basesrc/dist/bind/include [netbsd-1-4]: port_ipv6.h
> >
> > Log Message:
> > Apply patch (new file, requested by he):
> >   Use a static version of port_ipv6.h instead of generating
> >   it.  The use of the probe script had at least two problems:
> >   it probed the host headers (could be fixed in another way),
> >   and it could be problematical in a cross-compile
> >   environment.
>
> Thats a good idea for -current, BUT not for 1.4.x where it is
> possible to install a kame kit and therefore you have a wrong
> port_ipv6.h.

Hmm, yes, I can see that.  On the other hand, it makes the normal
NetBSD packaged build more robust.  I had initially thought of
fixing the "probes host headers" by adding "-nostdinc
-I${DESTDIR}/usr/include" to the CC environment variable in the
probe_ipv6 call.

I'll admit that I'm a little uncertain of whether to back out this
fix or let it stand as is (knowing that it breaks full NetBSD builds
on netbsd-1-4 systems which have KAME code manually added on).

- H=E5vard