summaryrefslogtreecommitdiff
path: root/extra/rrdtool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rrdtool/PKGBUILD')
-rw-r--r--extra/rrdtool/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/rrdtool/PKGBUILD b/extra/rrdtool/PKGBUILD
index 7d3c2f1e2..b2d49d466 100644
--- a/extra/rrdtool/PKGBUILD
+++ b/extra/rrdtool/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 148912 2012-02-05 11:55:38Z ibiru $
+# $Id: PKGBUILD 150933 2012-02-24 01:09:55Z tdziedzic $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=rrdtool
pkgver=1.4.5
-pkgrel=5
+pkgrel=6
pkgdesc="Data logging and graphing application"
arch=('i686' 'x86_64')
url="http://www.rrdtool.org"
@@ -20,7 +20,12 @@ sha1sums=('56638e8aedd5d5522152e86746e382b75dc48c35')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
sed -i 's|-lrrd|-lrrd -L/usr/lib/perl5/core_perl/CORE/ -lperl |' bindings/perl-shared/Makefile.PL
+
+ # fix FS#28521 make ruby install to vendor_ruby instead of site_ruby
+ sed -e 's/$(RUBY) extconf.rb/& --vendor/' -i bindings/Makefile.in
+
PYTHON=python2 ./configure --prefix=/usr --localstatedir=/var --disable-rpath \
--enable-perl --enable-perl-site-install --with-perl-options='INSTALLDIRS=vendor' \
--enable-ruby --enable-ruby-site-install --enable-python \