All pastes #452012 Raw Edit

Mine

public text v1 · immutable
#452012 ·published 2007-04-22 00:02 UTC
rendered paste body
# cat tcl-8.4.6-multilib.patch 
diff -Naur tcl8.4.6.orig/unix/configure tcl8.4.6/unix/configure
--- tcl8.4.6.orig/unix/configure        2004-03-01 15:58:59.000000000 -0800
+++ tcl8.4.6/unix/configure     2004-12-21 01:58:16.250206343 -0800
@@ -7248,7 +7248,7 @@
 
 if test "$FRAMEWORK_BUILD" = "1" ; then
     TCL_PACKAGE_PATH="${libdir}/Resources/Scripts"
-elif test "$prefix" != "$exec_prefix"; then
+elif test "$prefix" != "$exec_prefix" -o "${libdir}" != "${prefix}/lib"; then
     TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
 else
     TCL_PACKAGE_PATH="${prefix}/lib"
diff -Naur tcl8.4.6.orig/unix/configure.in tcl8.4.6/unix/configure.in
--- tcl8.4.6.orig/unix/configure.in     2004-03-01 15:58:59.000000000 -0800
+++ tcl8.4.6/unix/configure.in  2004-12-21 01:57:58.059204301 -0800
@@ -510,7 +510,7 @@
 
 if test "$FRAMEWORK_BUILD" = "1" ; then
     TCL_PACKAGE_PATH="${libdir}/Resources/Scripts"
-elif test "$prefix" != "$exec_prefix"; then
+elif test "$prefix" != "$exec_prefix" -o "${libdir}" != "${prefix}/lib"; then
     TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
 else
     TCL_PACKAGE_PATH="${prefix}/lib"