git: 25d551b5fb1d - main - virtual_bt_speaker(8): Do not build if WITHOUT_BLUETOOTH is set
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Sep 2025 09:13:28 UTC
The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=25d551b5fb1d28ed485d56d9d637993eb2d223b1 commit 25d551b5fb1d28ed485d56d9d637993eb2d223b1 Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2025-09-30 09:10:01 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2025-09-30 09:10:01 +0000 virtual_bt_speaker(8): Do not build if WITHOUT_BLUETOOTH is set virtual_bt_speaker(8) includes bluetooth.h, which won't exist if WITHOUT_BLUETOOTH is set, which will result in a build failure. Reported by: peterj Fixes: 9cab9fde5eda ("virtual_oss: Port to base") Sponsored by: The FreeBSD Foundation MFC after: 3 days --- usr.sbin/virtual_oss/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/virtual_oss/Makefile b/usr.sbin/virtual_oss/Makefile index bf73041377b3..6c497ad71d46 100644 --- a/usr.sbin/virtual_oss/Makefile +++ b/usr.sbin/virtual_oss/Makefile @@ -1,8 +1,9 @@ .include <src.opts.mk> -SUBDIR+= virtual_bt_speaker \ - virtual_oss_cmd \ +SUBDIR+= virtual_oss_cmd \ virtual_oss +SUBDIR.${MK_BLUETOOTH}+= virtual_bt_speaker + .include "Makefile.inc" .include <bsd.subdir.mk>