$NetBSD$

--- Makefile.in.orig	2001-02-10 18:24:24.000000000 -0600
+++ Makefile.in
@@ -35,7 +35,7 @@ oldincludedir = /usr/include
 DESTDIR =
 
 pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
+pkglibdir = $(libdir)/tcl/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 
 top_builddir = .
@@ -127,7 +127,7 @@ AUTOMAKE_OPTIONS = 1.4
 
 pkglib_LTLIBRARIES = libtclgdbm.la
 man_MANS = tclgdbm.n
-pkgindexdir = $(libdir)/@PACKAGE@
+pkgindexdir = $(libdir)/tcl/@PACKAGE@
 pkgindex_DATA = pkgIndex.tcl
 
 # tclStubLib.c is a dummy file just to fool automake
@@ -497,11 +497,6 @@ test:
 torture:
 	echo 'load .libs/libtclgdbm.so Tclgdbm ; source torture.tcl' | tclsh@TCL_VERSION@
 
-# override normal libtool rule
-tclStubLib.lo : @TCL_STUB_LIB_PATH@
-	ar -x @TCL_STUB_LIB_PATH@
-	mv tclStubLib.o tclStubLib.lo
-
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
