Fix build with WITHOUT_AUDIT=yes in src.conf

Always install the audit related includes are some part of the source
always requires them.

Reported by:	many
Fixes:	8c3eaf244a

(cherry picked from commit f41efc453a)
This commit is contained in:
Emmanuel Vadot 2021-04-15 14:11:13 +02:00
parent 16d43e5602
commit ba56ee36eb

View file

@ -223,6 +223,7 @@ MLX5DIR= ${INCLUDEDIR}/dev/mlx5
INCSGROUPS= INCS \
ACPICA \
AGP \
BSM \
CAM \
CAMATA \
CAMMMC \
@ -236,14 +237,10 @@ INCSGROUPS= INCS \
OPENCRYPTO \
PCI \
RPC \
SECAUDIT \
TEKEN \
VERIEXEC
.if ${MK_AUDIT} != "no"
INCSGROUPS+= BSM
INCSGROUPS+= SECAUDIT
.endif
.if ${MK_IPFILTER} != "no"
INCSGROUPS+= IPFILTER
.endif