diff options
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.patch | 31 |
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 @@ | |||
1 | From 6e3cbc3600ac474776e92eb9a88abcb74299c321 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Song.Li" <Song.Li@windriver.com> | ||
3 | Date: Wed, 1 Aug 2012 19:05:51 +0800 | ||
4 | Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target | ||
5 | |||
6 | Remove hardcoded library install path. Change $(prefix)/lib/ to ${libdir}. | ||
7 | |||
8 | [YOCTO #2876] | ||
9 | |||
10 | Upstream-Status: Inappropriate [tcl 8.x is obsolete; upstream submission should be for 9.x patches] | ||
11 | |||
12 | Signed-off-by: Song.Li <Song.Li@windriver.com> | ||
13 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
14 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
15 | --- | ||
16 | unix/configure.in | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/unix/configure.in b/unix/configure.in | ||
20 | index 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 | |||