aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2018-07-15 18:37:26 +0800
committertcberner <tcberner@FreeBSD.org>2018-07-15 18:37:26 +0800
commitdf820431a7307778034f78d26ae2ae847bc704b3 (patch)
tree008eec8ad2ce657e6c6a3d5f7bae8d944e9010b3
parentca13aaa8d12161dc441685867831bb77025ba0d7 (diff)
downloadfreebsd-ports-gnome-df820431a7307778034f78d26ae2ae847bc704b3.tar.gz
freebsd-ports-gnome-df820431a7307778034f78d26ae2ae847bc704b3.tar.zst
freebsd-ports-gnome-df820431a7307778034f78d26ae2ae847bc704b3.zip
devel/kde-dev-utils: Add upstream fix to make it build with upcoming KF5 5.48.0.
PR: 229769 Submitted by: Heiko Becker Reported by: antoine Obtained from: https://phabricator.kde.org/D14066
-rw-r--r--devel/kde-dev-utils/files/patch-kde_D1406646
1 files changed, 46 insertions, 0 deletions
diff --git a/devel/kde-dev-utils/files/patch-kde_D14066 b/devel/kde-dev-utils/files/patch-kde_D14066
new file mode 100644
index 000000000000..22312f68226c
--- /dev/null
+++ b/devel/kde-dev-utils/files/patch-kde_D14066
@@ -0,0 +1,46 @@
+[1/20] cd /wrkdirs/usr/ports/devel/kde-dev-utils/work/.build &&
+ /usr/local/bin/cmake -DGETTEXT_MSGFMT_EXECUTABLE=/usr/local/bin/msgfmt
+ -DCOPY_TO=/wrkdirs/usr/ports/devel/kde-dev-utils/work/.build/locale
+ -DPO_DIR=/wrkdirs/usr/ports/devel/kde-dev-utils/work/kde-dev-utils-18.04.3/po
+ -P
+CMake Error: No script specified for argument -P
+
+
+Obtained from: https://phabricator.kde.org/D14066
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -10,5 +10,8 @@
+ include(KDECompilerSettings NO_POLICY_SCOPE)
+ include(ECMQtDeclareLoggingCategory)
+
++# Required for ki18n_install(po) added on tarball generation
++find_package(KF5 REQUIRED COMPONENTS I18n)
++
+ add_subdirectory(kpartloader)
+ add_subdirectory(kuiviewer)
+diff --git a/kpartloader/CMakeLists.txt b/kpartloader/CMakeLists.txt
+--- kpartloader/CMakeLists.txt
++++ kpartloader/CMakeLists.txt
+@@ -11,7 +11,6 @@
+ find_package(KF5 REQUIRED
+ COMPONENTS
+ CoreAddons
+- I18n
+ Parts
+ WidgetsAddons
+ )
+diff --git a/kuiviewer/CMakeLists.txt b/kuiviewer/CMakeLists.txt
+--- kuiviewer/CMakeLists.txt
++++ kuiviewer/CMakeLists.txt
+@@ -15,7 +15,6 @@
+ COMPONENTS
+ CoreAddons
+ KIO
+- I18n
+ Parts
+ )
+
+
+