diff options
Diffstat (limited to 'dev-lang/tcl/files/tcl-8.5.13-autopath.patch')
-rw-r--r-- | dev-lang/tcl/files/tcl-8.5.13-autopath.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-lang/tcl/files/tcl-8.5.13-autopath.patch b/dev-lang/tcl/files/tcl-8.5.13-autopath.patch new file mode 100644 index 000000000000..77f0ca6ced0c --- /dev/null +++ b/dev-lang/tcl/files/tcl-8.5.13-autopath.patch @@ -0,0 +1,19 @@ + unix/configure.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/unix/configure.in b/unix/configure.in +index 65f712a..b606b74 100755 +--- a/unix/configure.in ++++ b/unix/configure.in +@@ -840,9 +840,9 @@ if test "$FRAMEWORK_BUILD" = "1" ; then + test -z "$TCL_MODULE_PATH" && \ + TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl /System/Library/Tcl" + elif test "$prefix/lib" != "$libdir"; then +- TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}" ++ TCL_PACKAGE_PATH="${libdir}/tcl8.5 ${prefix}/share/tcl8.5 ${libdir}/tk8.5 ${prefix}/share/tk8.5 ${TCL_PACKAGE_PATH}" + else +- TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}" ++ TCL_PACKAGE_PATH="${libdir}/tcl8.5 ${prefix}/share/tcl8.5 ${libdir}/tk8.5 ${prefix}/share/tk8.5 ${TCL_PACKAGE_PATH}" + fi + + #-------------------------------------------------------------------- |