misc/44148: installworld in 4.7-STABLE does not install IPFilter related header files

Darren Reed darrenr at reed.wattle.id.au
Thu Apr 24 10:20:22 PDT 2003


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


More information about the freebsd-bugs mailing list