summaryrefslogtreecommitdiff
path: root/databases/tcl-gdbm
diff options
context:
space:
mode:
authorminskim <minskim>2004-04-11 16:55:02 +0000
committerminskim <minskim>2004-04-11 16:55:02 +0000
commitbf8f5cbcf0c569e32455d990bf9498489e9d37b9 (patch)
tree45438858912663c21f47e7d051a059015a0ac102 /databases/tcl-gdbm
parentb5ff1540dad77806b2153076a30826d8cf654baf (diff)
downloadpkgsrc-bf8f5cbcf0c569e32455d990bf9498489e9d37b9.tar.gz
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
Diffstat (limited to 'databases/tcl-gdbm')
-rw-r--r--databases/tcl-gdbm/Makefile9
-rw-r--r--databases/tcl-gdbm/distinfo10
-rw-r--r--databases/tcl-gdbm/patches/patch-aa18
-rw-r--r--databases/tcl-gdbm/patches/patch-ab40
4 files changed, 49 insertions, 28 deletions
diff --git a/databases/tcl-gdbm/Makefile b/databases/tcl-gdbm/Makefile
index 82d4c67434f..828f6a9d1c4 100644
--- a/databases/tcl-gdbm/Makefile
+++ b/databases/tcl-gdbm/Makefile
@@ -1,16 +1,15 @@
-# $NetBSD: Makefile,v 1.13 2004/03/08 19:52:50 minskim Exp $
+# $NetBSD: Makefile,v 1.14 2004/04/11 16:55:02 minskim Exp $
#
-DISTNAME= tclgdbm-0.8
-PKGNAME= tcl-gdbm-0.8
-PKGREVISION= 1
+DISTNAME= tclgdbm-0.10
+PKGNAME= tcl-gdbm-0.10
CATEGORIES= databases tcl
MASTER_SITES= http://www.graphviz.org/pub/tclgdbm/
MAINTAINER= bouyer@NetBSD.org
COMMENT= Tcl interface to gdbm - GNU database manager
-DEPENDS+= tcl>=8.3.2:../../lang/tcl83
+DEPENDS+= tcl>=8.4:../../lang/tcl
DEPENDS+= gdbm>=1.8.3:../../databases/gdbm
GNU_CONFIGURE= # defined
diff --git a/databases/tcl-gdbm/distinfo b/databases/tcl-gdbm/distinfo
index f70c1b2acfc..288aedd2cbe 100644
--- a/databases/tcl-gdbm/distinfo
+++ b/databases/tcl-gdbm/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 16:11:05 agc Exp $
+$NetBSD: distinfo,v 1.3 2004/04/11 16:55:02 minskim Exp $
-SHA1 (tclgdbm-0.8.tar.gz) = c8d2116303351832dd98552ed94701693292224b
-Size (tclgdbm-0.8.tar.gz) = 111619 bytes
-SHA1 (patch-aa) = ebba0cbd712655eaf23e476a4c8b56079cea1f59
-SHA1 (patch-ab) = f27346a74617e018721530d7f30d499c336d23dd
+SHA1 (tclgdbm-0.10.tar.gz) = 8addd84ef3cde602d59d6aa7dffc5a1cda0bf092
+Size (tclgdbm-0.10.tar.gz) = 115524 bytes
+SHA1 (patch-aa) = cd51edd644fe218297afcae634d404e0362b915a
+SHA1 (patch-ab) = 82247114c0adc555a6f9e9b1eca895e1c7f6955f
diff --git a/databases/tcl-gdbm/patches/patch-aa b/databases/tcl-gdbm/patches/patch-aa
index 3d4472bf36e..adb0897de32 100644
--- a/databases/tcl-gdbm/patches/patch-aa
+++ b/databases/tcl-gdbm/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2001/03/05 12:35:33 skrll Exp $
+$NetBSD: patch-aa,v 1.5 2004/04/11 16:55:02 minskim Exp $
---- Makefile.in.orig Thu Jun 8 20:35:14 2000
+--- Makefile.in.orig 2001-02-10 18:24:24.000000000 -0600
+++ Makefile.in
-@@ -35,7 +35,7 @@
+@@ -35,7 +35,7 @@ oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.4 2001/03/05 12:35:33 skrll Exp $
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
-@@ -127,7 +127,7 @@
+@@ -127,7 +127,7 @@ AUTOMAKE_OPTIONS = 1.4
pkglib_LTLIBRARIES = libtclgdbm.la
man_MANS = tclgdbm.n
@@ -20,15 +20,15 @@ $NetBSD: patch-aa,v 1.4 2001/03/05 12:35:33 skrll Exp $
pkgindex_DATA = pkgIndex.tcl
# tclStubLib.c is a dummy file just to fool automake
-@@ -491,11 +491,6 @@
-
- test:
+@@ -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:
diff --git a/databases/tcl-gdbm/patches/patch-ab b/databases/tcl-gdbm/patches/patch-ab
index d8bec5193be..59f5543a685 100644
--- a/databases/tcl-gdbm/patches/patch-ab
+++ b/databases/tcl-gdbm/patches/patch-ab
@@ -1,11 +1,36 @@
-$NetBSD: patch-ab,v 1.4 2001/03/05 12:35:33 skrll Exp $
+$NetBSD: patch-ab,v 1.5 2004/04/11 16:55:02 minskim Exp $
---- configure.orig Thu Jun 8 20:35:03 2000
+--- configure.orig Thu Jun 8 21:35:03 2000
+++ configure
-@@ -1750,20 +1750,6 @@
+@@ -1643,8 +1643,8 @@ cd ${BUILD_DIR}
+ # Checks for Tcl
+-# Extract the first word of "tclsh8.3", so it can be a program name with args.
+-set dummy tclsh8.3; ac_word=$2
++# Extract the first word of "tclsh8.4", so it can be a program name with args.
++set dummy tclsh8.4; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:1650: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_TCLSH'+set}'`\" = set"; then
+@@ -1680,8 +1680,8 @@ fi
+
+ # can't assume ksh on all architectures
+-# TCLSH_EXEC_PREFIX=${TCLSH%%/bin/tclsh8.3}
+-TCLSH_EXEC_PREFIX=`echo $TCLSH|sed -e 's%/bin/tclsh8.3%%'`
++# TCLSH_EXEC_PREFIX=${TCLSH%%/bin/tclsh8.4}
++TCLSH_EXEC_PREFIX=`echo $TCLSH|sed -e 's%/bin/tclsh8.4%%'`
+
+ # Check whether --with-tcl or --without-tcl was given.
+ if test "${with_tcl+set}" = set; then
+@@ -1747,20 +1747,6 @@ fi
+
+
+
+-
+-
+-
-if test -f $TCLSH_EXEC_PREFIX/lib/tkConfig.sh; then
- echo "$ac_t""using $TCLSH_EXEC_PREFIX/lib/tkConfig.sh" 1>&6
-else
@@ -17,9 +42,6 @@ $NetBSD: patch-ab,v 1.4 2001/03/05 12:35:33 skrll Exp $
- withval="$with_extraincludedir"
- INCLUDES="-I$withval $INCLUDES"
-fi
--
--
--
- # Check whether --with-extralibdir or --without-extralibdir was given.
- if test "${with_extralibdir+set}" = set; then
- withval="$with_extralibdir"
+
+
+