Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2001 13:01:23 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/ipf Makefile src/sbin/ipfstat Makefile    src/sbin/ipnat Makefile src/usr.sbin/ipftest Makefile         src/usr.sbin/ipresend Makefile src/usr.sbin/ipsend Makefile         src/usr.sbin/iptest Makefile
Message-ID:  <Pine.BSF.4.21.0106121240001.56809-100000@besplex.bde.org>
In-Reply-To: <200106111741.f5BHfw495372@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Jun 2001, Ruslan Ermilov wrote:

> ru          2001/06/11 10:41:58 PDT
> 
>   Modified files:
>     sbin/ipf             Makefile 
>     sbin/ipfstat         Makefile 
>     sbin/ipnat           Makefile 
>     usr.sbin/ipftest     Makefile 
>     usr.sbin/ipresend    Makefile 
>     usr.sbin/ipsend      Makefile 
>     usr.sbin/iptest      Makefile 
>   Log:
>   Backout previous change (removal of -I${.CURDIR}/../../sys/netinet).
>   This is needed to pick up the right headers.  Wrong headers from
>   src/contrib/ipfilter are used otherwise.
>   
>   The right fix would be to fix contrib/ipfilter C sources to pick up
>   headers from <sys/netinet>.
>   
>   Noticed by:	peter

Wrong headers are still used.  There are no ipfiliter headers in
${.CURDIR}/../../sys/netinet any more.  ipfilter headers are now in:

   (1) ${.CURDIR}/../../sys/contrib/ipfilter/netinet (active sources)
   (2) ${.CURDIR}/../../contrib/ipfilter (rotting copy of distribution sources)
   (3) /usr/include/netinet (copy of (1), modulo bugs)
   (4) ${WORLDTMP}/usr/include/netinet (copy of (1), modulo bugs)

and the purpose of some the -I paths is to prefer (1) after breaking the
default of (3) or (4) by putting a -I to (2) in CFLAGS before the -I to (3)
or (4).  Using ${.CURDIR}/../../sys/netinet and/or ${.CURDIR}/../../sys
instead of (1) does not help avoid the main ipfilter headers in (2), but
it might help avoid other garbage.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106121240001.56809-100000>