pkgsrc/databases/tcl-gdbm/patches/patch-ab
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

47 lines
1.4 KiB
Text

$NetBSD: patch-ab,v 1.5 2004/04/11 16:55:02 minskim Exp $
--- configure.orig Thu Jun 8 21:35:03 2000
+++ configure
@@ -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
- { echo "configure: error: Unable find tkConfig.sh." 1>&2; exit 1; }
-fi
-
-# Check whether --with-extraincludedir or --without-extraincludedir was given.
-if test "${with_extraincludedir+set}" = set; then
- withval="$with_extraincludedir"
- INCLUDES="-I$withval $INCLUDES"
-fi