nixpkgs-suyu/pkgs/applications/kde/akonadi/0003-akonadi-revert-make-relocatable.patch

46 lines
1.5 KiB
Diff
Raw Normal View History

2021-04-25 15:05:06 +02:00
From 4b90a0bd4411a66bbe6ecf85ce89a60a58bee969 Mon Sep 17 00:00:00 2001
2020-07-13 18:48:47 +02:00
From: Thomas Tuegel <ttuegel@mailbox.org>
2021-04-25 15:05:06 +02:00
Date: Sun, 25 Apr 2021 08:01:21 -0500
2020-07-13 18:48:47 +02:00
Subject: [PATCH 3/3] akonadi revert make relocatable
---
CMakeLists.txt | 3 ---
KF5AkonadiConfig.cmake.in | 6 +++---
2 files changed, 3 insertions(+), 6 deletions(-)
2020-07-13 18:48:47 +02:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
2021-04-25 15:05:06 +02:00
index 4e8cc81..63161b7 100644
2020-07-13 18:48:47 +02:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2021-04-25 15:05:06 +02:00
@@ -368,9 +368,6 @@ configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KF5AkonadiConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KF5AkonadiConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
- PATH_VARS AKONADI_DBUS_INTERFACES_INSTALL_DIR
- AKONADI_INCLUDE_DIR
- KF5Akonadi_DATA_DIR
)
install(FILES
2020-07-13 18:48:47 +02:00
diff --git a/KF5AkonadiConfig.cmake.in b/KF5AkonadiConfig.cmake.in
2021-01-31 18:01:57 +01:00
index bcf7320..1574319 100644
2020-07-13 18:48:47 +02:00
--- a/KF5AkonadiConfig.cmake.in
+++ b/KF5AkonadiConfig.cmake.in
2021-01-31 18:01:57 +01:00
@@ -1,10 +1,10 @@
@PACKAGE_INIT@
-set_and_check(AKONADI_DBUS_INTERFACES_DIR "@PACKAGE_AKONADI_DBUS_INTERFACES_INSTALL_DIR@")
-set_and_check(AKONADI_INCLUDE_DIR "@PACKAGE_AKONADI_INCLUDE_DIR@")
+set_and_check(AKONADI_DBUS_INTERFACES_DIR "@AKONADI_DBUS_INTERFACES_INSTALL_DIR@")
+set_and_check(AKONADI_INCLUDE_DIR "@AKONADI_INCLUDE_DIR@")
# The directory where akonadi-xml.xsd and kcfg2dbus.xsl are installed
-set(KF5Akonadi_DATA_DIR "@PACKAGE_KF5Akonadi_DATA_DIR@")
+set(KF5Akonadi_DATA_DIR "@KF5Akonadi_DATA_DIR@")
2021-01-31 18:01:57 +01:00
# set the directories
if(NOT AKONADI_INSTALL_DIR)
2020-07-13 18:48:47 +02:00
--
2021-04-25 15:05:06 +02:00
2.31.1
2020-07-13 18:48:47 +02:00