summaryrefslogtreecommitdiff
path: root/extra/graphviz
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-23 00:05:19 -0800
committerroot <root@rshg054.dnsready.net>2013-02-23 00:05:19 -0800
commitc8c918cb8c810e3300e5165f9af7ca8ab9650a59 (patch)
tree319544cd588357463dc03a0e2863c84748c0981c /extra/graphviz
parent0ab7960ba6a457b7dd3ed5ede0cdb93e816d29a4 (diff)
Sat Feb 23 00:05:17 PST 2013
Diffstat (limited to 'extra/graphviz')
-rw-r--r--extra/graphviz/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD
index d2f473817..2388f17f5 100644
--- a/extra/graphviz/PKGBUILD
+++ b/extra/graphviz/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 178365 2013-02-20 22:51:19Z bisson $
+# $Id: PKGBUILD 178429 2013-02-22 00:30:19Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=graphviz
pkgver=2.30.0
-pkgrel=3
+pkgrel=5
pkgdesc='Graph visualization software'
url='http://www.graphviz.org/'
license=('custom:EPL')
@@ -43,10 +43,10 @@ build() {
export PYTHON=python2
export LUA=lua5.1
- ./configure \
- --prefix=/usr \
- --with-cgraph=false # apps need porting to that new api first
+ # install the graph and cgraph api alongside
+ sed 's/@WITH_CGRAPH_FALSE@//g' -i lib/graph/Makefile.in
+ ./configure --prefix=/usr
make || sed '/caml_array_length/d' -i tclpkg/gv/gv_ocaml.cpp # swig goes wonky
make
}
@@ -57,4 +57,7 @@ package() {
# http://www.graphviz.org/License.php
install -Dm644 ../LICENSE "${pkgdir}"/usr/share/licenses/graphviz/LICENSE
+
+ # everything has been built against cgraph, but use graph as default api
+ sed '/#define WITH_CGRAPH 1/d' -i "${pkgdir}"/usr/include/graphviz/types.h
}