diff options
author | root <root@rshg047.dnsready.net> | 2011-04-27 22:24:53 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-27 22:24:53 +0000 |
commit | 18d6577d511b9a1ac36eaae50060133a401e42a3 (patch) | |
tree | f681f9444a7a0a95916de40af82d3b805d5fb8d3 /community/collectd/PKGBUILD | |
parent | 69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff) |
Wed Apr 27 22:24:53 UTC 2011
Diffstat (limited to 'community/collectd/PKGBUILD')
-rw-r--r-- | community/collectd/PKGBUILD | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD index e3bc32c60..d801ab20d 100644 --- a/community/collectd/PKGBUILD +++ b/community/collectd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 45121 2011-04-16 15:59:33Z foutrelis $ +# $Id: PKGBUILD 45620 2011-04-26 00:57:42Z dreisner $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Gerhard Brauer <gerhard.brauer@web.de> pkgname=collectd pkgver=5.0.0 -pkgrel=2 +pkgrel=3 pkgdesc='Daemon which collects system performance statistics periodically' arch=('i686' 'x86_64') url='http://collectd.org/' @@ -43,10 +43,12 @@ depends=('libtool') source=("${url}files/$pkgname-$pkgver.tar.gz" 'libnotify-0.7.patch' - 'rc.d') + 'rc.d' + 'yajl-2.x.patch') sha1sums=('026e5121348f0e525dedb3844fe61c7713994bb7' 'f6fed097c16f6c9c90b9a32a5b8e48d54b35b337' - '0f441718d5519cb043b1130e5a1d0379078adbcc') + '0f441718d5519cb043b1130e5a1d0379078adbcc' + '2586559fc8d2b54f3d242a3e815ed81e81e0341b') install=install @@ -54,9 +56,17 @@ build() { cd "$srcdir/$pkgname-$pkgver" unset LDFLAGS # or perl not found patch -p1 -i ../libnotify-0.7.patch + + # fixes for yajl 2.x API changes + patch -Np0 < "$srcdir/yajl-2.x.patch" + sed -i 's/ipt_error_target/bozo_error_target/g' src/owniptc/libiptc.c ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --enable-static=no --with-python=/usr/bin/python2 + + # avoid -Werror with gcc 4.6 + sed -i '/^AM_CFLAGS/s/ -Werror//' src/Makefile + make all } |