File otcl-tcl_detection.patch of Package otcl
Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -4836,7 +4836,8 @@ TCL_TCL_PLACES_D="$d \
$d/lib \
$d/library \
"
-TCL_TCL_PLACES="../lib/tcl$TCL_HI_VERS \
+TCL_TCL_PLACES="$libdir/tcl/tcl$TCL_HI_VERS \
+ ../lib/tcl$TCL_HI_VERS \
../lib/tcl$TCL_ALT_VERS \
../lib/tcl$TCL_VERS \
../lib/tcl \
@@ -4957,7 +4958,7 @@ TCL_H_PLACES=" \
TCL_LIB_PLACES_D="$d \
$d/lib \
$d/unix"
-TCL_LIB_PLACES=" \
+TCL_LIB_PLACES="$libdir \
../lib \
../tcl$TCL_VERS/unix \
../tcl$TCL_HI_VERS/unix \
@@ -5448,7 +5449,7 @@ TK_TCL_PLACES_D="$d \
$d/../lib/tk \
$d/lib \
$d/library"
-TK_TCL_PLACES=" \
+TK_TCL_PLACES=" $libdir/tcl/tk$TCL_HI_VERS \
../lib/tk$TK_HI_VERS \
../lib/tk$TK_VERS \
../lib/tk$TK_ALT_VERS \
@@ -5547,7 +5548,7 @@ TK_H_PLACES=" \
TK_LIB_PLACES_D="$d \
$d/lib \
$d/unix"
-TK_LIB_PLACES=" \
+TK_LIB_PLACES=" $libdir \
../lib \
../lib/tk$TK_HI_VERS \
../lib/tk$TK_VERS \