diff options
Diffstat (limited to 'net-mgmt/ettercap/files')
-rw-r--r-- | net-mgmt/ettercap/files/patch-CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/ettercap/files/patch-CMakeLists.txt b/net-mgmt/ettercap/files/patch-CMakeLists.txt index 5819428cef79..324ab0433a34 100644 --- a/net-mgmt/ettercap/files/patch-CMakeLists.txt +++ b/net-mgmt/ettercap/files/patch-CMakeLists.txt @@ -1,11 +1,11 @@ --- CMakeLists.txt.orig 2015-03-14 13:43:11 UTC +++ CMakeLists.txt -@@ -112,7 +112,7 @@ if(OS_DARWIN OR OS_WINDOWS) +@@ -108,7 +108,7 @@ set(INSTALL_LIBDIR ${INSTALL_PREFIX}/lib + set(INSTALL_DATADIR ${INSTALL_PREFIX}/share CACHE PATH "Data installation directory") + set(INSTALL_EXECPREFIX ${INSTALL_PREFIX} CACHE PATH "") + set(INSTALL_BINDIR ${INSTALL_PREFIX}/bin CACHE PATH "Binary files installation directory") +-if(OS_DARWIN OR OS_WINDOWS) ++if(OS_DARWIN OR OS_FREEBSD 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") |