summaryrefslogtreecommitdiff
path: root/extra/graphviz/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-23 10:32:13 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-23 10:32:13 +0100
commitcc98017bbad1f9abb4fd76c68a158f356926a164 (patch)
tree1c3bb2e1c6bf899d35d5b7f58e798a4d9d63e1d1 /extra/graphviz/PKGBUILD
parent40ee6ff3cb6c8b9b90e75463ce9dc37bdcd0d79b (diff)
parentc8c918cb8c810e3300e5165f9af7ca8ab9650a59 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/freeimage/PKGBUILD extra/php/PKGBUILD
Diffstat (limited to 'extra/graphviz/PKGBUILD')
-rw-r--r--extra/graphviz/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD
index 3513965db..1fa7bf596 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')
@@ -59,10 +59,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
}
@@ -73,4 +73,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
}