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

Eric Bélanger eric at archlinux.org
Sat Jul 16 00:19:33 UTC 2011


    Date: Friday, July 15, 2011 @ 20:19:32
  Author: eric
Revision: 131836

Removed unnecessary libpng depends, Update sed fix, Fixed python2 build

Modified:
  rrdtool/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-16 00:05:42 UTC (rev 131835)
+++ PKGBUILD	2011-07-16 00:19:32 UTC (rev 131836)
@@ -8,7 +8,7 @@
 arch=('i686' 'x86_64')
 url="http://www.rrdtool.org"
 license=('GPL' 'custom')
-depends=('libpng' 'libxml2' 'pango')
+depends=('libxml2' 'pango')
 makedepends=('intltool' 'ruby' 'python2' 'tcl' 'lua')
 optdepends=('tcl: to use corresponding binding' \
             'python2: to use corresponding binding' \
@@ -21,9 +21,8 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i 's|-lrrd|-lrrd -L/usr/lib/perl5/core_perl/CORE/ -lperl -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE |' \
-    bindings/perl-shared/Makefile.PL
-  ./configure --prefix=/usr --localstatedir=/var --disable-rpath \
+  sed -i 's|-lrrd|-lrrd -L/usr/lib/perl5/core_perl/CORE/ -lperl |' bindings/perl-shared/Makefile.PL
+  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 \
     --enable-lua --enable-lua-site-install --enable-tcl --disable-libwrap




More information about the arch-commits mailing list