From 55d5200ea4799ebf8c1af65b02f818bcb14cec3a Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 27 May 2008 08:36:51 +0200 Subject: [PATCH] Added a work around for #474087 (broken openipmi .pc files). * Force the inclusion of the ipmi plugin. * Manually specify the dependencies. --- debian/changelog | 4 +++- debian/rules | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b08e159..e3dbc30 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,8 +18,10 @@ collectd (4.4.0-1) unstable; urgency=low - Added /usr/share/doc/collectd/examples/iptables/. * New debconf template translations: - gl.po, thanks to Jacobo Tarrio (Closes: #482667). + * Added a work around for #474087 (broken openipmi .pc files) by forcing the + inclusion of the ipmi plugin and manually specifying the dependencies. - -- Sebastian Harl Mon, 26 May 2008 18:17:39 +0200 + -- Sebastian Harl Tue, 27 May 2008 08:36:05 +0200 collectd (4.3.2-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 36abe9c..23b80f1 100755 --- a/debian/rules +++ b/debian/rules @@ -51,8 +51,14 @@ ifeq (,$(findstring $(DEB_BUILD_ARCH),amd64 i386 powerpc)) confflags += --disable-libvirt endif +# Force the inclusion of the ipmi plugin and manually specify its +# dependencies to work around #474087 (broken openipmi .pc files). +BUILD_WITH_OPENIPMI_LIBS = -lOpenIPMIpthread -lOpenIPMIutils -lOpenIPMI +confflags += --enable-ipmi + config.status: configure $(DPATCH_STAMPFN) dh_testdir + BUILD_WITH_OPENIPMI_LIBS="$(BUILD_WITH_OPENIPMI_LIBS)" \ CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(confflags) build: build-stamp -- 2.30.2