Date: Thu, 24 Apr 2003 20:22:51 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Darren Reed <darrenr@reed.wattle.id.au> Cc: freebsd-bugs@freebsd.org Subject: Re: misc/44148: installworld in 4.7-STABLE does not install IPFilter related header files Message-ID: <20030424172251.GB56367@sunbay.com> In-Reply-To: <200304241719.DAA03081@avalon.reed.wattle.id.au> References: <200304240719.h3O7J5RB041530@freefall.freebsd.org> <200304241719.DAA03081@avalon.reed.wattle.id.au>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Sorry for replying before the quoted text, but...
In the SHARED=symlinks case, /usr/include/netinet is
the symlink to /usr/src/sys/netinet. Hope this now
makes more sense.
On Fri, Apr 25, 2003 at 03:19:57AM +1000, Darren Reed wrote:
>
> Well, the problem needs fixing.
>
> Whether it means creating src/include/netinet/Makefile or maybe just
> 'magic' dependencies, the problem should not be insolvable.
>
> What appears to need to happen is for src/include/Makefile to have
> a specific .for-.endfor to build the files in include/netinet for
> IPFilter. I think people are expecting to not need this and for it
> to magically happen with other dependencies. This would not appear
> to be possible.
>
> Something like:
>
> IPFHDRS=ip_fil.h ip_nat.h ip_state.h ip_fil_compat.h ...
> ...
> copies:
> ...
> .for i in ${IPFHDRS}; do
> if [ -L ${DESTDIR}/usr/include/$i ]; then \
> rm -f ${DESTDIR}/usr/include/$i
> fi
> ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i \
> ${DESTDIR}/usr/include/netinet
> .endfor
> ...
> symlinks:
> ...
> .for i in ${IPFHDRS}; do
> rm -f ${DESTDIR}/usr/include/$i
> ln -s ../../../sys/contrib/ipfilter/netinet/$i \
> ${DESTDIR}/usr/include/netinet
> .endfor
>
> Darren
--
Ruslan Ermilov Sysadmin and DBA,
ru@sunbay.com Sunbay Software AG,
ru@FreeBSD.org FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+qB1rUkv4P6juNwoRAkhrAJwPxgQ2p/x+ncCDxEnTB9pCAkk4yACfUnwP
a7HmUNryDuxeoXlU0U/saPc=
=wNrD
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030424172251.GB56367>
