git: ff2be894f9f7 - main - devel/kf5-kcoreaddons: Point the framework to the correct AccountsService dir.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 08 Feb 2023 14:12:35 UTC
The branch main has been updated by arrowd:

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

commit ff2be894f9f7b78a5f7231870c4d3e728a8624ce
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-02-08 14:09:18 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-02-08 14:12:01 +0000

    devel/kf5-kcoreaddons: Point the framework to the correct AccountsService dir.
    
    This fixes Plasma screenlocker, which was missing user's avatar image.
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 devel/kf5-kcoreaddons/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/devel/kf5-kcoreaddons/Makefile b/devel/kf5-kcoreaddons/Makefile
index d32c1109fd19..8f10b37b6fde 100644
--- a/devel/kf5-kcoreaddons/Makefile
+++ b/devel/kf5-kcoreaddons/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	kcoreaddons
 DISTVERSION=	${KDE_FRAMEWORKS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	devel kde kde-frameworks
 
 MAINTAINER=	kde@FreeBSD.org
@@ -26,6 +27,8 @@ FAM_DESC=		Filesystem alteration notifications using fam (broken: hangs on NFS)
 FAM_USES=		fam
 FAM_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_FAM
 
+CMAKE_ARGS=	-DACCOUNTS_SERVICE_ICON_DIR:PATH=/var/db/AccountsService/icons
+
 .include <bsd.port.pre.mk>
 # FreeBSD base gained /etc/os-release in r354922, which
 # corresponds to __FreeBSD_version 1300060