summaryrefslogtreecommitdiff
path: root/network/bmon/disable_libnl.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:35:50 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:35:50 +0200
commita1523de5b6bb28741a246e76484e022a5ef9e955 (patch)
tree1d93bce30d34e5c1a2a0173b132d2aa13d481a11 /network/bmon/disable_libnl.diff
parentf9712edd5701d2f83755c05e8e11fba0c1f57e76 (diff)
downloadslackbuilds-a1523de5b6bb28741a246e76484e022a5ef9e955.tar.gz
network/bmon: Updated for version 2.1.0
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
+ ##
+ #####################################################################