summaryrefslogtreecommitdiffstats
path: root/network/bmon/disable_libnl.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/bmon/disable_libnl.diff')
-rw-r--r--network/bmon/disable_libnl.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/network/bmon/disable_libnl.diff b/network/bmon/disable_libnl.diff
new file mode 100644
index 0000000000..1f5126e907
--- /dev/null
+++ b/network/bmon/disable_libnl.diff
@@ -0,0 +1,30 @@
+diff -Naur bmon-2.1.0/configure.ac bmon-2.1.0.patched/configure.ac
+--- bmon-2.1.0/configure.ac 2005-04-05 11:01:33.000000000 -0400
++++ bmon-2.1.0.patched/configure.ac 2009-09-30 23:43:25.000000000 -0400
+@@ -188,26 +188,6 @@
+
+ #####################################################################
+ ##
+-## libnl check
+-##
+-#####################################################################
+-NL="No "
+-AC_CHECK_LIB(nl, nl_connect, [
+- AC_DEFINE_UNQUOTED(HAVE_NL, "1", [have libnl])
+- LIBNL="-lnl"
+- NL="Yes"
+-],[
+- case ${target_os} in
+- *linux*)
+- echo
+- echo "*** Warning: Building bmon on Linuxx w/o libnl ***"
+- echo
+- ;;
+- esac
+-])
+-
+-#####################################################################
+-##
+ ## libm check
+ ##
+ #####################################################################