Conditionalize the ipfilter header files on NO_IPFILTER. While normally these
should be harmless, the kdump(1) build does evil things with collecting system header files, and thus would unconditionally collect and process these. MFC After: 3 days
This commit is contained in:
parent
627e5814bc
commit
f98a656c0a
@ -141,9 +141,11 @@ copies:
|
||||
cd ${.CURDIR}/../sys/contrib/altq/altq; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/altq
|
||||
.if !defined(NO_IPFILTER)
|
||||
cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/netinet
|
||||
.endif
|
||||
cd ${.CURDIR}/../sys/contrib/pf/net; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/net
|
||||
@ -211,11 +213,13 @@ symlinks:
|
||||
ln -fs ../../../sys/contrib/altq/altq/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/altq; \
|
||||
done
|
||||
.if !defined(NO_IPFILTER)
|
||||
cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \
|
||||
for h in *.h; do \
|
||||
ln -fs ../../../sys/contrib/ipfilter/netinet/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/netinet; \
|
||||
done
|
||||
.endif
|
||||
cd ${.CURDIR}/../sys/contrib/pf/net; \
|
||||
for h in *.h; do \
|
||||
ln -fs ../../../sys/contrib/pf/net/$$h \
|
||||
|
Loading…
Reference in New Issue
Block a user