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

Gaetan Bisson bisson at nymeria.archlinux.org
Fri Sep 13 04:26:25 UTC 2013


    Date: Friday, September 13, 2013 @ 06:26:25
  Author: bisson
Revision: 194281

shipping two interfaces does not work; remove cgraph as few things have been ported to it yet

Modified:
  graphviz/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-13 02:35:30 UTC (rev 194280)
+++ PKGBUILD	2013-09-13 04:26:25 UTC (rev 194281)
@@ -5,7 +5,7 @@
 
 pkgname=graphviz
 pkgver=2.32.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Graph visualization software'
 url='http://www.graphviz.org/'
 license=('CPL')
@@ -50,10 +50,7 @@
 	export PYTHON=python2
 	export LUA=lua5.1
 
-	# install the graph and cgraph api alongside
-	sed 's/@WITH_CGRAPH_FALSE@//g' -i lib/graph/Makefile.in
-
-	./configure --prefix=/usr
+	./configure --prefix=/usr --with-cgraph=no
 	make || sed '/caml_array_length/d' -i tclpkg/gv/gv_ocaml.cpp # swig goes wonky
 	make
 }
@@ -61,7 +58,4 @@
 package() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	make DESTDIR="${pkgdir}" install
-
-	# 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
 }




More information about the arch-commits mailing list