git: c4f66ede12d3 - stable/15 - libsamplerate: Only build when virtual_oss is built
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Apr 2026 11:27:01 UTC
The branch stable/15 has been updated by ivy:
URL: https://cgit.FreeBSD.org/src/commit/?id=c4f66ede12d328f3c48d19648585679f53304701
commit c4f66ede12d328f3c48d19648585679f53304701
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2026-04-03 13:42:20 +0000
Commit: Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2026-04-07 10:49:10 +0000
libsamplerate: Only build when virtual_oss is built
Gate libsamplerate behind MK_CUSE and MK_SOUND, like virtual_oss.
Nothing else uses this library, so there's no point building it
if we aren't building virtual_oss.
This avoids building a useless FreeBSD-sound package containing
only this library when WITHOUT_SOUND is set.
MFC after: 1 week
Reviewed by: christos, emaste
Differential Revision: https://reviews.freebsd.org/D56164
Sponsored by: https://www.patreon.com/bsdivy
(cherry picked from commit baa7a870d65db324d4dd781702e7ccefde20a3ee)
---
lib/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/Makefile b/lib/Makefile
index c3a95f00d4ef..6e2ff634c963 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -91,7 +91,6 @@ SUBDIR= ${SUBDIR_BOOTSTRAP} \
librss \
librt \
librtld_db \
- libsamplerate \
libsbuf \
libsmb \
libstdbuf \
@@ -237,7 +236,7 @@ SUBDIR.${MK_RADIUS_SUPPORT}+= libradius
SUBDIR.${MK_SENDMAIL}+= libmilter libsm libsmdb libsmutil
SUBDIR.${MK_TELNET}+= libtelnet
SUBDIR.${MK_SOUND}+= libmixer
-SUBDIR.${MK_CUSE}.${MK_SOUND}+= virtual_oss
+SUBDIR.${MK_CUSE}.${MK_SOUND}+= libsamplerate virtual_oss
SUBDIR.${MK_TESTS_SUPPORT}+= atf
SUBDIR.${MK_TESTS_SUPPORT}+= liblutok
SUBDIR.${MK_TESTS}+= tests