- new
authorblekot <blekot@pld-linux.org>
Tue, 20 Mar 2012 18:00:46 +0000 (18:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    collectd-modbus.patch -> 1.1

collectd-modbus.patch [new file with mode: 0644]

diff --git a/collectd-modbus.patch b/collectd-modbus.patch
new file mode 100644 (file)
index 0000000..a59fd48
--- /dev/null
@@ -0,0 +1,26 @@
+--- collectd-5.0.2/configure.in.old    2012-03-20 18:44:53.000000000 +0100
++++ collectd-5.0.2/configure.in        2012-03-20 18:45:54.000000000 +0100
+@@ -2128,7 +2128,7 @@
+ if test "x$with_libmodbus" = "xuse_pkgconfig"
+ then
+       AC_MSG_NOTICE([Checking for modbus using $PKG_CONFIG])
+-      $PKG_CONFIG --exists 'modbus' 2>/dev/null
++      $PKG_CONFIG --exists 'libmodbus' 2>/dev/null
+       if test $? -ne 0
+       then
+               with_libmodbus="no (pkg-config doesn't know modbus)"
+@@ -2136,12 +2136,12 @@
+ fi
+ if test "x$with_libmodbus" = "xuse_pkgconfig"
+ then
+-      with_libmodbus_cflags="`$PKG_CONFIG --cflags 'modbus'`"
++      with_libmodbus_cflags="`$PKG_CONFIG --cflags 'libmodbus'`"
+       if test $? -ne 0
+       then
+               with_libmodbus="no ($PKG_CONFIG failed)"
+       fi
+-      with_libmodbus_libs="`$PKG_CONFIG --libs 'modbus'`"
++      with_libmodbus_libs="`$PKG_CONFIG --libs 'libmodbus'`"
+       if test $? -ne 0
+       then
+               with_libmodbus="no ($PKG_CONFIG failed)"
This page took 0.034289 seconds and 4 git commands to generate.