summaryrefslogtreecommitdiff
path: root/community/collectd/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-31 16:00:15 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-31 16:00:15 +0200
commitc1d0aa110dfdd798942103d61a04034c62f7ee59 (patch)
treecd2b4a60821f0df421e678577d1497e7cf810d29 /community/collectd/PKGBUILD
parent1edeca012d353f2fb5f900e106f97dbdb73418be (diff)
Disable -Werror for collectd.
Diffstat (limited to 'community/collectd/PKGBUILD')
-rw-r--r--community/collectd/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD
index 6229fb5b4..d181ae43e 100644
--- a/community/collectd/PKGBUILD
+++ b/community/collectd/PKGBUILD
@@ -54,6 +54,9 @@ install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # Not designed to build with newer dependencies.
+ find . -name Makefile.in -or -name configure.in | xargs sed -i 's/-Werror/-Wno-error/'
+
patch -p1 -i ../libperl.patch
autoconf