summaryrefslogtreecommitdiff
path: root/package/bmon/bmon-nolibnl.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2009-07-26 22:03:15 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-26 22:03:15 +0200
commitba4fbdc948452e95f0ea65d96b329d9473c00b4c (patch)
tree922e6b71ffdd7f7891927a279650c0ba83252eb8 /package/bmon/bmon-nolibnl.patch
parentc2dbefd86f9480ba6ca3dc7b5b097401bf6bfbbd (diff)
bmon: new package
Closes #389. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bmon/bmon-nolibnl.patch')
-rw-r--r--package/bmon/bmon-nolibnl.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/bmon/bmon-nolibnl.patch b/package/bmon/bmon-nolibnl.patch
new file mode 100644
index 000000000..4925cd4c9
--- /dev/null
+++ b/package/bmon/bmon-nolibnl.patch
@@ -0,0 +1,24 @@
+diff -Nura bmon/configure bmon.libnl/configure
+--- bmon/configure 2005-04-05 12:01:33.000000000 -0300
++++ bmon.libnl/configure 2009-06-10 16:10:52.000000000 -0300
+@@ -7327,13 +7327,13 @@
+ echo "${ECHO_T}$ac_cv_lib_nl_nl_connect" >&6
+ if test $ac_cv_lib_nl_nl_connect = yes; then
+
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_NL "1"
+-_ACEOF
+-
+- LIBNL="-lnl"
+- NL="Yes"
++ case ${target_os} in
++ *linux*)
++ echo
++ echo "*** Warning: Building bmon on Linux w/o libnl ***"
++ echo
++ ;;
++ esac
+
+ else
+