File expect-5.39.0-libdir.patch of Package expect

--- expect-5.39/Makefile.in.libdir	2003-07-30 00:46:51.000000000 +0200
+++ expect-5.39/Makefile.in	2003-11-17 17:54:52.000000000 +0100
@@ -316,7 +316,7 @@
 CFLAGS_INT = $(MH_CFLAGS) $(CPPFLAGS) $(XCFLAGS)
 
 LIB_INSTALL_DIR = $(tcl_libdir)
-LIB_RUNTIME_DIR = $(tcl_libdir)
+LIB_RUNTIME_DIR = $(subst $(INSTALL_ROOT),,$(tcl_libdir))
 # I don't understand why Tcl splits these up, but it does.  LIB_RUNTIME_DIR
 # can appear as part of the LD_SEARCH_FLAGS inherited by configure.