[arch-commits] Commit in rrdtool/trunk (PKGBUILD)

Thomas Dziedzic tdziedzic at archlinux.org
Fri Feb 24 01:09:35 UTC 2012


    Date: Thursday, February 23, 2012 @ 20:09:35
  Author: tdziedzic
Revision: 150932

upgpkg: rrdtool 1.4.5-6

use vendor_ruby instead of site_ruby, fixes FS#28521

Modified:
  rrdtool/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-23 23:42:48 UTC (rev 150931)
+++ PKGBUILD	2012-02-24 01:09:35 UTC (rev 150932)
@@ -3,7 +3,7 @@
 
 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 @@
 
 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 \




More information about the arch-commits mailing list