Big kde-4.7.0 update
[NixPkgs.git] / pkgs / desktops / kde-4.7 / files / polkit-install.patch
blobd2ecac663ec5f055620eca5b0af9f3a5f69e8cf5
1 diff -ru -x '*~' kdelibs-4.6.90-orig/kdecore/auth/ConfigureChecks.cmake kdelibs-4.6.90/kdecore/auth/ConfigureChecks.cmake
2 --- kdelibs-4.6.90-orig/kdecore/auth/ConfigureChecks.cmake 2011-05-20 22:24:54.000000000 +0200
3 +++ kdelibs-4.6.90/kdecore/auth/ConfigureChecks.cmake 2011-07-12 14:03:00.000000000 +0200
4 @@ -139,7 +139,7 @@
5 ${CMAKE_INSTALL_PREFIX} _KDE4_AUTH_POLICY_FILES_INSTALL_DIR
6 ${POLKITQT-1_POLICY_FILES_INSTALL_DIR})
8 - set(KDE4_AUTH_POLICY_FILES_INSTALL_DIR ${_KDE4_AUTH_POLICY_FILES_INSTALL_DIR} CACHE STRING
9 + set(KDE4_AUTH_POLICY_FILES_INSTALL_DIR "\${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions" CACHE STRING
10 "Where policy files generated by KAuth will be installed" FORCE)
11 elseif(KDE4_AUTH_BACKEND_NAME STREQUAL "FAKE")
12 set (KAUTH_COMPILING_FAKE_BACKEND TRUE)