Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2021 12:12:35 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f41efc453ab5 - main - Fix build with WITHOUT_AUDIT=yes in src.conf
Message-ID:  <202104151212.13FCCZ5u067633@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=f41efc453ab5563cde214cb19273d87e6e4aa2d4

commit f41efc453ab5563cde214cb19273d87e6e4aa2d4
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-04-15 12:11:13 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-04-15 12:11:13 +0000

    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:  8c3eaf244a417a4
---
 include/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/include/Makefile b/include/Makefile
index 8d50aeea864f..b444184ab8c6 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104151212.13FCCZ5u067633>