File graphviz-plugins-tcl_install_dir.patch of Package graphviz

Index: tclpkg/Makefile.am
===================================================================
--- tclpkg/Makefile.am.orig	2012-06-11 16:26:00.106677610 +0200
+++ tclpkg/Makefile.am	2012-06-11 16:27:30.595435808 +0200
@@ -18,9 +18,9 @@ pkgpython26dir = $(pkglibdir)/python26
 pkgpython27dir = $(pkglibdir)/python27
 pkgRdir = $(pkglibdir)/R
 pkgrubydir = $(pkglibdir)/ruby
-pkgtcldir = $(pkglibdir)/tcl
+pkgtcldir = $(libdir)
 
-pkgindexdir = $(pkgtcldir)
+pkgindexdir = $(datadir)/tcl/@PACKAGE@
 if WITH_TCL
 pkgindex_DATA = pkgIndex.tcl
 endif
Index: tclpkg/Makefile.in
===================================================================
--- tclpkg/Makefile.in.orig	2012-06-11 16:26:00.000000000 +0200
+++ tclpkg/Makefile.in	2012-06-11 16:28:03.111911549 +0200
@@ -487,8 +487,9 @@ pkgpython26dir = $(pkglibdir)/python26
 pkgpython27dir = $(pkglibdir)/python27
 pkgRdir = $(pkglibdir)/R
 pkgrubydir = $(pkglibdir)/ruby
-pkgtcldir = $(pkglibdir)/tcl
-pkgindexdir = $(pkgtcldir)
+pkgtcldir = $(libdir)
+pkgindexdir = $(datadir)/tcl/@PACKAGE@
+
 @WITH_TCL_TRUE@pkgindex_DATA = pkgIndex.tcl
 SUBDIRS = tclstubs tkstubs tclhandle gdtclft tcldot tclpathplan tkspline gv
 EXTRA_DIST = Makefile.old mkpkgindex.sh
openSUSE Build Service is sponsored by