openbsd-ports/net/ettercap/patches/patch-plug-ins_CMakeLists_txt
sthen bcb2c19a24 update ettercap to 0.7.5.1 but also mark it as BROKEN; mutex locking
problems at runtime means this no longer works since the move to rthreads.
2013-01-10 18:11:14 +00:00

14 lines
576 B
Plaintext

$OpenBSD: patch-plug-ins_CMakeLists_txt,v 1.1 2013/01/10 18:11:14 sthen Exp $
--- plug-ins/CMakeLists.txt.orig Thu Jan 10 17:10:03 2013
+++ plug-ins/CMakeLists.txt Thu Jan 10 17:10:24 2013
@@ -9,7 +9,9 @@ add_library(chk_poison MODULE chk_poison/chk_poison.c)
set_target_properties(chk_poison PROPERTIES PREFIX "ec_")
add_library(dns_spoof MODULE dns_spoof/dns_spoof.c)
+if(HAVE_RESOLV)
target_link_libraries(dns_spoof ${HAVE_RESOLV})
+endif(HAVE_RESOLV)
set_target_properties(dns_spoof PROPERTIES PREFIX "ec_")
add_library(dos_attack MODULE dos_attack/dos_attack.c)