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
This commit is contained in:
Emmanuel Vadot 2021-04-15 14:11:13 +02:00
parent 56b0f5f360
commit f41efc453a
1 changed files with 2 additions and 5 deletions

View File

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