summaryrefslogtreecommitdiff
path: root/community/collectd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/collectd/PKGBUILD')
-rw-r--r--community/collectd/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD
index 3f8ac903d..d181ae43e 100644
--- a/community/collectd/PKGBUILD
+++ b/community/collectd/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=5.2.1
pkgrel=1
pkgdesc='Daemon which collects system performance statistics periodically'
url='http://collectd.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
optdepends=('curl: apache, ascent, curl, nginx, and write_http plugins'
@@ -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