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-03 13:42:20 +0000
commitbaa7a870d65db324d4dd781702e7ccefde20a3ee (patch)
tree1495d5689e97d6770986b56fd75faa112142f555
parentabda442d92fdbadcf81c79bc9ddba001d133c429 (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
-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