Date: Fri, 25 Apr 2003 03:19:57 +1000 From: Darren Reed <darrenr@reed.wattle.id.au> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/44148: installworld in 4.7-STABLE does not install IPFilter related header files Message-ID: <200304241719.DAA03081@avalon.reed.wattle.id.au> In-Reply-To: <200304240719.h3O7J5RB041530@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304241719.DAA03081>