]> git.pld-linux.org Git - packages/ettercap6.git/blobdiff - ettercap6-plugin_dir.patch
- copied from ettercap-*.patch
[packages/ettercap6.git] / ettercap6-plugin_dir.patch
diff --git a/ettercap6-plugin_dir.patch b/ettercap6-plugin_dir.patch
new file mode 100644 (file)
index 0000000..d4a69e6
--- /dev/null
@@ -0,0 +1,16 @@
+diff -urN ettercap-0.5.4.orig/configure.in ettercap-0.5.4/configure.in
+--- ettercap-0.5.4.orig/configure.in   Thu Sep  6 17:51:02 2001
++++ ettercap-0.5.4/configure.in        Thu Sep  6 17:51:40 2001
+@@ -102,11 +102,7 @@
+ dnl configuring path for rpm version...
+-if test "$RPM_BUILD_ROOT" = ""; then
+-      echo "#define INSTALL_PATH \"$prefix/share/ettercap/\"" > ./src/include/ec_install_path.h
+-else
+-      echo "#define INSTALL_PATH \"/usr/local/share/ettercap/\"" > ./src/include/ec_install_path.h
+-fi
++echo "#define INSTALL_PATH \"$libdir/ettercap/\"" > ./src/include/ec_install_path.h
+ dnl ========================
This page took 0.025971 seconds and 4 git commands to generate.