$NetBSD: patch-ab,v 1.3 2007/01/20 01:47:00 rillig Exp $ --- configure.orig 2001-06-11 22:44:36.000000000 +0200 +++ configure @@ -70,7 +70,7 @@ done # LPATH="" IPATH="" -LIBS="" +LIBS="${BUILDLINK_LDFLAGS}" TCLTKOK=1 ################################################################## @@ -453,6 +453,11 @@ find_tcltk_version() union LIBS -l$tcl_lib union LPATH -L$TCLLIB + . ${LOCALBASE}/lib/tclConfig.sh + for l in ${TCL_LIBS}; do + union LIBS ${l} + done + echo "Tcl/Tk Version: $tcltk_ver" else echo "Tcl/Tk Version: not found"