Files
pkgsrc-ng/devel/kservice/patches/patch-src_CMakeLists.txt
2016-11-18 22:39:22 +01:00

16 lines
748 B
Plaintext

$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})