git: cefb028a9a89 - main - finance/kraft: fix build

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sat, 29 Apr 2023 06:41:26 UTC
The branch main has been updated by tcberner:

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

commit cefb028a9a893ff364c2a9fc869e929fa1b41917
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-04-29 06:38:25 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-04-29 06:41:14 +0000

    finance/kraft: fix build
    
    - help the build find the moved Akonadi headers
    [...]/src/addressprovider_akonadi.h:31:10: fatal error: 'AkonadiContact/akonadi-contact_version.h' file not found
     #include <AkonadiContact/akonadi-contact_version.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
 finance/kraft/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/finance/kraft/Makefile b/finance/kraft/Makefile
index 8d64da5185d2..694ddf317d59 100644
--- a/finance/kraft/Makefile
+++ b/finance/kraft/Makefile
@@ -22,6 +22,7 @@ USE_KDE=	akonadi akonadicontacts \
 		grantleetheme i18n itemmodels widgetsaddons
 USE_QT=		core dbus gui sql widgets xml \
 		buildtools:build qmake:build
+CFLAGS+=	-I${LOCALBASE}/include/KPim5
 
 SHEBANG_FILES=	manual/makeman.sh