X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fcollectd;h=7c9744531923ba9dda9d2ccbc393d56f7178e737;hb=7e27f7cdc1e1848d5e6b82f5181fffccd9597bec;hp=e31324817f160e7fddee53a2576590b657963c55;hpb=8288c0394bb96f5aa3878ea86c05c2d92d677347;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/collectd b/lfs/collectd index e31324817f..7c97445319 100644 --- a/lfs/collectd +++ b/lfs/collectd @@ -34,9 +34,9 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = collectd -DEPS = "" +DEPS = -CFLAGS += -Wno-error=deprecated-declarations +CFLAGS += -fcommon -Wno-error=deprecated-declarations ############################################################################### # Top-level Rules @@ -105,6 +105,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd/0022-openvpn-Change-data-type-from-COUNTER-to-DERIVE.patch cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd/silence-openvpn-errors.patch cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd-4.10.9-xfs-compile-fix.patch + cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd-4.10-libiptc-build-fixes.patch + cd $(DIR_APP) && autoupdate -v configure.in cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP)/libltdl && autoreconf -vfi cd $(DIR_APP) && ./configure --prefix=/usr --localstatedir=/var \ @@ -115,7 +117,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --enable-{interface,iptables,irq,load,logfile,memory,multimeter} \ --enable-{network,nfs,ntpd,ping,processes,rrdtool,sensors,swap,syslog} \ --enable-{tcpconns,unixsock,users,wireless} \ - --with-librrd=/usr/share/rrdtool-1.2.30 + --with-librrd=/usr/share/rrdtool-1.2.30 \ + --with-fp-layout=nothing cd $(DIR_APP) && make install #collectd-4 does not support parallel build cp -vf $(DIR_SRC)/config/collectd/collectd.* /etc/ mv /etc/collectd.vpn /var/ipfire/ovpn/collectd.vpn