summaryrefslogtreecommitdiff
path: root/extra/graphviz/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/graphviz/PKGBUILD')
-rw-r--r--extra/graphviz/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD
index c6657ed39..3dfefeadc 100644
--- a/extra/graphviz/PKGBUILD
+++ b/extra/graphviz/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 148760 2012-02-05 11:49:28Z ibiru $
+# $Id: PKGBUILD 150341 2012-02-17 03:33:20Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=graphviz
pkgver=2.28.0
-pkgrel=7
+pkgrel=8
pkgdesc='Graph visualization software'
url='http://www.graphviz.org/'
license=('custom:EPL')
@@ -34,8 +34,12 @@ install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i "/RUBY_INCLUDES=\"/s|\"$| `eval echo -I/usr/include/ruby-1.9.1/{$CARCH-linux,ruby/backward,}`\"|" configure
- sed -i '/LIBPOSTFIX="64"/d' configure
+ sed \
+ -e '/"archdir"/s:$:+" '"$(echo -I/usr/include/ruby-1.9.1/{$CARCH-linux,ruby/backward,})"'":' \
+ -e '/CONFIG/s:site:vendor:' \
+ -i config/config_ruby.rb
+
+ sed '/LIBPOSTFIX="64"/d' -i configure
export PYTHON=python2
./configure --prefix=/usr