pkgsrc/databases/tcl-gdbm/patches/patch-aa
minskim 7b6524acfd Update tcl-gdbm to 0.10. Patch to make this package work with tcl-8.4
was provided by Bernhard 'burnhard' Riedl on hanirc's #netbsd.

Changes since 0.8:
        - converted fully to Tcl_Obj's
        - able to handle keys and data with embedded NUL's
        - deal with Tcl's internal UTF string encoding
        - put in own namespace tclgdbm::gdbm
        - remerge of changes from tcl+gdbm-0.4
        - remerge of changes from tcl+gdbm-0.4 (insert/store
          accept multiple args for data)
        - updated man pages
        - add test driver tclshgdbm
        - add gdbm.test which uses standard tcltest package
        - repackage Dave's changes into rpm
2004-04-11 16:55:02 +00:00

34 lines
1,022 B
Text

$NetBSD: patch-aa,v 1.5 2004/04/11 16:55:02 minskim Exp $
--- 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: