--- tclpkg/Makefile.am | 4 ++-- tclpkg/Makefile.in | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) Index: tclpkg/Makefile.am =================================================================== --- tclpkg/Makefile.am.orig 2013-09-07 03:07:52.000000000 +0200 +++ tclpkg/Makefile.am 2013-09-09 13:52:50.830269146 +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 2013-09-07 03:11:21.000000000 +0200 +++ tclpkg/Makefile.in 2013-09-09 13:52:50.830269146 +0200 @@ -522,8 +522,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