$OpenBSD: patch-unix_configure,v 1.2 2017/05/10 14:27:01 stu Exp $
Index: unix/configure
--- unix/configure.orig
+++ unix/configure
@@ -1717,7 +1717,7 @@ case "`uname -s`" in
     *)
 	if test "${SHARED_BUILD}" = "1" ; then
 	    SHLIB_LD_LIBS="${TCL_STUB_LIB_SPEC} ${TK_STUB_LIB_SPEC}"
-	    eval "${PACKAGE}_LIB_FILE=lib${PACKAGE}${SHARED_LIB_SUFFIX}"
+	    eval "${PACKAGE}_LIB_FILE=lib${PACKAGE}.so"
 	    RANLIB=:
 	else
 	    eval "${PACKAGE}_LIB_FILE=lib${PACKAGE}${UNSHARED_LIB_SUFFIX}"
@@ -1741,7 +1741,7 @@ esac
 # versions have bugs in the pkg_mkIndex routine.
 #--------------------------------------------------------------------
 
-for ac_prog in tclsh8.4${EXEEXT} tclsh84${EXEEXT} tclsh8.3${EXEEXT} tclsh83${EXEEXT} tclsh8.2${EXEEXT} tclsh82${EXEEXT} tclsh${EXEEXT}
+for ac_prog in tclsh8.5${EXEEXT} tclsh8.4${EXEEXT} tclsh84${EXEEXT} tclsh8.3${EXEEXT} tclsh83${EXEEXT} tclsh8.2${EXEEXT} tclsh82${EXEEXT} tclsh${EXEEXT}
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
