--- CMakeLists.txt.orig	2015-03-14 13:43:11 UTC
+++ CMakeLists.txt
@@ -112,7 +112,7 @@ if(OS_DARWIN OR OS_WINDOWS)
    set(POLKIT_DIR ${INSTALL_PREFIX}/share/polkit-1/actions/ CACHE PATH "Polkit installation directory")
 else(OS_DARWIN OR OS_WINDOWS)
 #at least on ubuntu, polkit dir couldn't be /usr/local/share, but should be /usr/share
-   set(POLKIT_DIR /usr/share/polkit-1/actions/ CACHE PATH "Polkit installation directory")
+   set(POLKIT_DIR ${INSTALL_PREFIX}/share/polkit-1/actions/ CACHE PATH "Polkit installation directory")
 endif(OS_DARWIN OR OS_WINDOWS)
 set(PKEXEC_INSTALL_WRAPPER org.pkexec.ettercap CACHE PATH "Name of the pkexec action file")
 set(DESKTOP_DIR ${INSTALL_PREFIX}/share/applications/ CACHE PATH "Desktop file installation directory")
