summaryrefslogtreecommitdiff
path: root/network/openvas-manager/LDFLAG.diff
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-04-12 19:34:18 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:37:52 +0200
commite9a7006cde1ba891e7892d1ff12b25b2cadb8d29 (patch)
tree27adc42d85ce65b6ba5a348c53c5369f1663666d /network/openvas-manager/LDFLAG.diff
parent4bf50e435b46175be516675339fad4e86fdf7e5c (diff)
downloadslackbuilds-e9a7006cde1ba891e7892d1ff12b25b2cadb8d29.tar.gz
network/openvas-manager: Added (OpenVAS scan manager)
Diffstat (limited to 'network/openvas-manager/LDFLAG.diff')
-rw-r--r--network/openvas-manager/LDFLAG.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/network/openvas-manager/LDFLAG.diff b/network/openvas-manager/LDFLAG.diff
new file mode 100644
index 0000000000..a65c13bffe
--- /dev/null
+++ b/network/openvas-manager/LDFLAG.diff
@@ -0,0 +1,24 @@
+diff -Naur openvas-manager-1.0.0-beta5.orig/src/CMakeLists.txt openvas-manager-1.0.0-beta5/src/CMakeLists.txt
+--- openvas-manager-1.0.0-beta5.orig/src/CMakeLists.txt 2010-03-04 15:00:41.000000000 +0100
++++ openvas-manager-1.0.0-beta5/src/CMakeLists.txt 2010-03-09 14:27:37.161580945 +0100
+@@ -128,7 +128,7 @@
+ endif (OPENVAS_DATA_DIR)
+
+ set_target_properties (openvasmd PROPERTIES LINK_FLAGS
+- "${LIB_TEMP} -lsqlite3 -lgnutls -luuid ${GLIB_LDFLAGS} ${OPENVAS_LDFLAGS}")
++ "${LIB_TEMP} -lsqlite3 -ldl -lgnutls -luuid ${GLIB_LDFLAGS} ${OPENVAS_LDFLAGS}")
+
+ set_target_properties (openvasmd PROPERTIES COMPILE_FLAGS
+ "${HEADER_TEMP} ${OPENVAS_CFLAGS} ${GLIB_CFLAGS}")
+diff -Naur openvas-manager-1.0.0-beta5.orig/src/tests/CMakeLists.txt openvas-manager-1.0.0-beta5/src/tests/CMakeLists.txt
+--- openvas-manager-1.0.0-beta5.orig/src/tests/CMakeLists.txt 2010-03-04 15:00:41.000000000 +0100
++++ openvas-manager-1.0.0-beta5/src/tests/CMakeLists.txt 2010-03-09 14:28:06.409890850 +0100
+@@ -45,7 +45,7 @@
+ set (LIB_TEMP "")
+ endif (OPENVAS_LIB_INSTALL_DIR)
+
+-set (OVAS_LDFLAG "${LIB_TEMP} -lsqlite3 -lgnutls ${OPENVAS_LDFLAGS}")
++set (OVAS_LDFLAG "${LIB_TEMP} -lsqlite3 -ldl -lgnutls ${OPENVAS_LDFLAGS}")
+
+ MARK_AS_ADVANCED (LIB_TEMP)
+