diff options
Diffstat (limited to 'main/collectd')
-rw-r--r-- | main/collectd/APKBUILD | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD index 551a2c9625..8ba119144e 100644 --- a/main/collectd/APKBUILD +++ b/main/collectd/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=collectd pkgver=5.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="The system statistics collection daemon" url="http://collectd.org" arch="all" @@ -31,13 +31,8 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - # we need -lm - sed -i -e 's/^collectd_LDADD = \(.*\)/collectd_LDADD = -lm \1/' \ - -e 's/^collectd_nagios_LDADD = \(.*\)/collectd_nagios_LDADD = -lm \1/' \ - src/Makefile.in || return 1 - sed -i -e 's/_LIBADD =/_LIBADD = -lm/' \ - src/libcollectdclient/Makefile.in || return 1 - sed -i -e '/CFLAGS/s/-Werror//' configure src/Makefile.in || return 1 + sed -i -e '/CFLAGS/s/-Werror//' configure src/Makefile.in \ + src/*/Makefile.in || return 1 } build() { |