From: Jo-Philipp Wich Date: Sat, 18 Dec 2010 12:50:07 +0000 (+0000) Subject: [packages] collectd: partly revert r24630 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6d4217b0db25a85de7f828a7eeb9921b08fd9e42;p=openwrt%2Fsvn-archive%2Farchive.git [packages] collectd: partly revert r24630 SVN-Revision: 24662 --- diff --git a/utils/collectd/patches/002-fix-ltdl-linking.patch b/utils/collectd/patches/002-fix-ltdl-linking.patch new file mode 100644 index 0000000000..359ed910aa --- /dev/null +++ b/utils/collectd/patches/002-fix-ltdl-linking.patch @@ -0,0 +1,22 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -85,7 +85,7 @@ endif + + if BUILD_WITH_OWN_LIBOCONFIG + collectd_LDADD += $(LIBLTDL) liboconfig/liboconfig.la +-collectd_DEPENDENCIES += $(LIBLTDL) liboconfig/liboconfig.la ++collectd_DEPENDENCIES += liboconfig/liboconfig.la + else + collectd_LDADD += -loconfig + endif +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -57,7 +57,7 @@ bin_PROGRAMS = collectd-nagios$(EXEEXT) + @BUILD_WITH_LIBSTATGRAB_TRUE@am__append_13 = $(BUILD_WITH_LIBSTATGRAB_CFLAGS) + @BUILD_WITH_LIBSTATGRAB_TRUE@am__append_14 = $(BUILD_WITH_LIBSTATGRAB_LDFLAGS) + @BUILD_WITH_OWN_LIBOCONFIG_TRUE@am__append_15 = $(LIBLTDL) liboconfig/liboconfig.la +-@BUILD_WITH_OWN_LIBOCONFIG_TRUE@am__append_16 = $(LIBLTDL) liboconfig/liboconfig.la ++@BUILD_WITH_OWN_LIBOCONFIG_TRUE@am__append_16 = liboconfig/liboconfig.la + @BUILD_WITH_OWN_LIBOCONFIG_FALSE@am__append_17 = -loconfig + @BUILD_WITH_LIBSOCKET_TRUE@am__append_18 = -lsocket + @BUILD_AIX_TRUE@am__append_19 = -lm