diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-02-27 06:30:10 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-02-27 06:30:10 +0800 |
commit | 83b959c33251ebf14ef074dcf3790d115e9d3765 (patch) | |
tree | 958aefdc171b52b9a811f3d44dd06f8d96793654 /net-mgmt/ettercap | |
parent | ef2c2f95c17335eb69a62b8efef0465d5f7c28a1 (diff) | |
download | freebsd-ports-gnome-83b959c33251ebf14ef074dcf3790d115e9d3765.tar.gz freebsd-ports-gnome-83b959c33251ebf14ef074dcf3790d115e9d3765.tar.zst freebsd-ports-gnome-83b959c33251ebf14ef074dcf3790d115e9d3765.zip |
Improve patch for better understanding
Diffstat (limited to 'net-mgmt/ettercap')
-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") |