xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 6efc98774681795712073c2b91e5e9d1763239b8 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: Pending
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 configure    | 2 +-
17 configure.in | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-)
19
20Index: unix/configure.in
21===================================================================
22--- a/unix.orig/configure.in	2013-11-10 23:20:50.000000000 -0800
23+++ b/unix/configure.in	2013-11-10 23:39:41.199428131 -0800
24@@ -790,7 +790,7 @@
25
26 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
27
28-test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
29+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
30 PRIVATE_INCLUDE_DIR='$(includedir)'
31 HTML_DIR='$(DISTDIR)/html'
32
33