git: 4014bdca4782 - main - audio/polyphone: fix build by adding alsa dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Oct 2026 18:31:30 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4014bdca478281607ffcadb0dcfba98b6d83d18f
commit 4014bdca478281607ffcadb0dcfba98b6d83d18f
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-18 18:26:24 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-18 18:31:27 +0000
audio/polyphone: fix build by adding alsa dependency
It is now required after rtmidi supports ALSA.
---
audio/polyphone/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/audio/polyphone/Makefile b/audio/polyphone/Makefile
index f0c7a99669c0..882ada7d978f 100644
--- a/audio/polyphone/Makefile
+++ b/audio/polyphone/Makefile
@@ -1,5 +1,6 @@
PORTNAME= polyphone
DISTVERSION= 2.6.0
+PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
@@ -10,7 +11,8 @@ WWW= https://www.polyphone.io/en \
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/../LICENSE.txt
-LIB_DEPENDS= libFLAC.so:audio/flac \
+LIB_DEPENDS= libasound.so:audio/alsa-lib \
+ libFLAC.so:audio/flac \
libjack.so:audio/jack \
libogg.so:audio/libogg \
libportaudio.so:audio/portaudio \
@@ -32,6 +34,7 @@ GH_ACCOUNT= davy7125
CXXFLAGS+= -D__UNIX_JACK__
LIBS+= -lssl -lcrypto
+LDFLAGS+= `pkg-config --libs alsa` # alsa depencency is triggered by ALSA option in rtmidi turned on
WRKSRC_SUBDIR= sources