git: 713c9bd376a3 - main - audio/cava: fix build

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 16 Jul 2024 01:05:51 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=713c9bd376a32633b37db562e7ba3744aa9c68de

commit 713c9bd376a32633b37db562e7ba3744aa9c68de
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-07-15 22:29:14 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-07-16 01:05:14 +0000

    audio/cava: fix build
    
    config.c:7:10: fatal error: 'iniparser.h' file not found
        7 | #include <iniparser.h>
---
 audio/cava/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/audio/cava/Makefile b/audio/cava/Makefile
index ded5d63ae716..5ad3da301008 100644
--- a/audio/cava/Makefile
+++ b/audio/cava/Makefile
@@ -77,6 +77,8 @@ VT_BUILD_DEPENDS=	psf2bdf:x11-fonts/psftools
 VT_CONFIGURE_ENABLE=	cava-font
 VT_PLIST_FILES=		${DATADIR}/cava.fnt
 
+CPPFLAGS+=	-I${PREFIX}/include/iniparser
+
 pre-configure:
 	${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version