summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch')
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch b/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch
new file mode 100644
index 0000000000..f2a37add7d
--- /dev/null
+++ b/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch
@@ -0,0 +1,31 @@
1From 6e3cbc3600ac474776e92eb9a88abcb74299c321 Mon Sep 17 00:00:00 2001
2From: "Song.Li" <Song.Li@windriver.com>
3Date: Wed, 1 Aug 2012 19:05:51 +0800
4Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target
5
6Remove hardcoded library install path. Change $(prefix)/lib/ to ${libdir}.
7
8[YOCTO #2876]
9
10Upstream-Status: Inappropriate [tcl 8.x is obsolete; upstream submission should be for 9.x patches]
11
12Signed-off-by: Song.Li <Song.Li@windriver.com>
13Signed-off-by: Kai Kang <kai.kang@windriver.com>
14Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
15---
16 unix/configure.in | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/unix/configure.in b/unix/configure.in
20index e88ec3c..8e6726b 100644
21--- a/unix/configure.in
22+++ b/unix/configure.in
23@@ -774,7 +774,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
24
25 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
26
27-test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
28+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
29 PRIVATE_INCLUDE_DIR='$(includedir)'
30 HTML_DIR='$(DISTDIR)/html'
31