libsamplerate: Avoid building examples, which are neither installed

nor needed by the test suite.
This commit is contained in:
nia 2024-03-17 12:49:12 +00:00
parent 3ce1a7e0cf
commit 94fecdf244
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.33 2023/05/06 19:08:46 ryoon Exp $
# $NetBSD: Makefile,v 1.34 2024/03/17 12:49:12 nia Exp $
DISTNAME= libsamplerate-0.2.2
PKGREVISION= 4
@ -17,6 +17,11 @@ USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= samplerate.pc.in
# Avoid building examples, which read into OS-specific audio APIs
# and may fail on some older platforms.
# This doesn't affect anything we actually care about (e.g. tests)
MAKE_FLAGS+= noinst_PROGRAMS=
TEST_TARGET= check
BUILDLINK_API_DEPENDS.libsndfile+= libsndfile>=1.0.2