aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ettercap
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-26 22:30:10 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-26 22:30:10 +0000
commit75dc88fd4a39be92f1777eed12a3f0f09c1fae95 (patch)
tree958aefdc171b52b9a811f3d44dd06f8d96793654 /net-mgmt/ettercap
parentc03451ffe3d7f197e659240293d5d18ce853179c (diff)
downloadports-75dc88fd4a39be92f1777eed12a3f0f09c1fae95.tar.gz
ports-75dc88fd4a39be92f1777eed12a3f0f09c1fae95.zip
Improve patch for better understanding
Notes
Notes: svn path=/head/; revision=463058
Diffstat (limited to 'net-mgmt/ettercap')
-rw-r--r--net-mgmt/ettercap/files/patch-CMakeLists.txt12
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")