aboutsummaryrefslogtreecommitdiffstats
path: root/main/collectd/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-15 07:35:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-15 09:33:37 +0000
commit5a6d81a5fa7cd24b0d6e6c8b79a00ec5ee8e60e7 (patch)
treea3c73f89201bde4548167714f43024e7713ff88c /main/collectd/APKBUILD
parentd92cd10cbae24eda1fcda70fd95e4feca1c2d800 (diff)
downloadaports-5a6d81a5fa7cd24b0d6e6c8b79a00ec5ee8e60e7.tar.bz2
aports-5a6d81a5fa7cd24b0d6e6c8b79a00ec5ee8e60e7.tar.xz
main/collectd: rebuild against perl-5.20 and misc cleanup
- remove the added -lm patching as we dont need it for musl - patch out more -Werror cflags http://stackoverflow.com/questions/10556299/compiler-warnings-with-libgcrypt-v1-5-0/12830209#12830209
Diffstat (limited to 'main/collectd/APKBUILD')
-rw-r--r--main/collectd/APKBUILD11
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() {