git: 4b546b73c6af - main - textproc/fcitx5-configtool: fix plist against KDE Frameworks 5.110

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Mon, 18 Sep 2023 15:57:38 UTC
The branch main has been updated by tcberner:

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

commit 4b546b73c6af275e286998f94a3a97c186cfbfe0
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-09-18 15:45:43 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-09-18 15:55:44 +0000

    textproc/fcitx5-configtool: fix plist against KDE Frameworks 5.110
    
    The change [1] in KDE Frameworks leads to the configuration
    ecm_setup_version(PROJECT VARIABLE_PREFIX Fcitx5Migrator
                      VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/migrator_version.h"
                      PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/Fcitx5MigratorVersion.cmake"
                      SOVERSION 0)
    accepting the value '0' as so-version, and not defaulting to the
    softwares major version (here 5).
    
    This leads to the .so.5 being renamed to .so.0 in the final package.
    
    [1] https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/1da0bba97d170e6d04eaf5555681c1b325cabcf5
    
    PR:             273695
---
 textproc/fcitx5-configtool/Makefile  | 2 +-
 textproc/fcitx5-configtool/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/fcitx5-configtool/Makefile b/textproc/fcitx5-configtool/Makefile
index 46db59f54726..2cb4862c1df2 100644
--- a/textproc/fcitx5-configtool/Makefile
+++ b/textproc/fcitx5-configtool/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fcitx5-configtool
 DISTVERSION=	5.0.17
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc x11
 MASTER_SITES=	https://download.fcitx-im.org/fcitx5/${PORTNAME}/
 
diff --git a/textproc/fcitx5-configtool/pkg-plist b/textproc/fcitx5-configtool/pkg-plist
index fd893052e7c1..6d1ea47f04f9 100644
--- a/textproc/fcitx5-configtool/pkg-plist
+++ b/textproc/fcitx5-configtool/pkg-plist
@@ -3,7 +3,7 @@ bin/fcitx5-migrator
 bin/fcitx5-plasma-theme-generator
 bin/kbd-layout-viewer5
 lib/libFcitx5Migrator.so
-lib/libFcitx5Migrator.so.5
+lib/libFcitx5Migrator.so.0
 lib/libFcitx5Migrator.so.%%VER%%
 %%QT_PLUGINDIR%%/kcms/kcm_fcitx5.so
 share/applications/kbd-layout-viewer5.desktop