aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2026-04-03 13:42:20 +0000
committerLexi Winter <ivy@FreeBSD.org>2026-04-07 10:49:10 +0000
commitc4f66ede12d328f3c48d19648585679f53304701 (patch)
tree930f7ed895ad53ab851a89b9f847468577b7569b
parent72b848a3fe934453aac4d0d17a4f791bbb499815 (diff)
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)
-rw-r--r--lib/Makefile3
1 files changed, 1 insertions, 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