summaryrefslogtreecommitdiff
path: root/devel/kservice/patches
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kservice/patches')
-rw-r--r--devel/kservice/patches/patch-src_CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/kservice/patches/patch-src_CMakeLists.txt b/devel/kservice/patches/patch-src_CMakeLists.txt
new file mode 100644
index 00000000000..cf30fa1d7a0
--- /dev/null
+++ b/devel/kservice/patches/patch-src_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2016/05/26 08:29:06 markd Exp $
+
+Do installs into PKG_SYSCONFDIR indirectly via examples dir
+
+--- src/CMakeLists.txt.orig 2016-01-02 16:49:15.000000000 +0000
++++ src/CMakeLists.txt
+@@ -137,7 +137,7 @@ install(FILES
+ if (WIN32)
+ install( FILES applications.menu DESTINATION ${KDE_INSTALL_DATAROOTDIR}/xdg/menus RENAME ${APPLICATIONS_MENU_NAME} )
+ else ()
+-install( FILES applications.menu DESTINATION ${KDE_INSTALL_SYSCONFDIR}/xdg/menus RENAME ${APPLICATIONS_MENU_NAME} )
++install( FILES applications.menu DESTINATION ${KDE_INSTALL_DATAROOTDIR}/examples/kservice RENAME ${APPLICATIONS_MENU_NAME} )
+ endif ()
+
+ install(TARGETS KF5Service EXPORT KF5ServiceTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})