git: 4bd2c490cb91 - main - graphics/okular: fix PURPOSE option's CMAKE_ARGS

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Tue, 27 Sep 2022 10:16:30 UTC
The branch main has been updated by tcberner:

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

commit 4bd2c490cb91a29c5b66dc8f896d683a8b29e337
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-09-27 10:13:35 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-09-27 10:13:35 +0000

    graphics/okular: fix PURPOSE option's CMAKE_ARGS
    
    The cmake package was renamed a while ago, so this had been broken for a
    while technically. However with the latest release the optional
    dependencies have been made required by default, leading to it now
    actually erroring out in this case.
    
    Reported by:    Sebastian <sko@rostwald.de>
    PR:             266637
---
 graphics/okular/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/okular/Makefile b/graphics/okular/Makefile
index 140d02560026..d3cdca84613f 100644
--- a/graphics/okular/Makefile
+++ b/graphics/okular/Makefile
@@ -41,6 +41,6 @@ OPTIONS_DEFAULT=	PURPOSE
 
 PURPOSE_DESC=	Enable 'Share' menu
 PURPOSE_USE=	KDE=purpose
-PURPOSE_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose
+PURPOSE_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_KF5Purpose
 
 .include <bsd.port.mk>