summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2021-07-09 17:17:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-13 14:27:53 +0100
commit49474b8edd1a6307d167d88469ab0f5ab6926b67 (patch)
tree3e2c712ddb0871d789bd81ec84559c6b851b0db1 /meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
parent4b016a2d472170b0037ce2bf43e729b2b6d67a1d (diff)
downloadpoky-49474b8edd1a6307d167d88469ab0f5ab6926b67.tar.gz
tcl: use AUTOTOOLS_SCRIPT_PATH
Inside tcl the configure.ac is inside a unix/ directory. Instead of setting S to BPNPV/unix and having to use ../ to reach files outside of unix, simply set S as usual and use AUTOTOOLS_SCRIPT_PATH to run the correct configure script. (From OE-Core rev: 40516f7db7c29d956038fc74dc7d8c3a7b62325a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch')
-rw-r--r--meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch17
1 files changed, 2 insertions, 15 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch b/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
index 386fbf83d0..99c5faf02c 100644
--- a/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
+++ b/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
@@ -17,23 +17,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
17 configure.in | 2 +- 17 configure.in | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-) 18 2 files changed, 2 insertions(+), 2 deletions(-)
19 19
20Index: unix/configure
21===================================================================
22--- unix.orig/configure 2013-11-10 23:38:33.643426430 -0800
23+++ unix/configure 2013-11-10 23:39:51.347428387 -0800
24@@ -19134,7 +19134,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
33Index: unix/configure.in 20Index: unix/configure.in
34=================================================================== 21===================================================================
35--- unix.orig/configure.in 2013-11-10 23:20:50.000000000 -0800 22--- a/unix.orig/configure.in 2013-11-10 23:20:50.000000000 -0800
36+++ unix/configure.in 2013-11-10 23:39:41.199428131 -0800 23+++ b/unix/configure.in 2013-11-10 23:39:41.199428131 -0800
37@@ -790,7 +790,7 @@ 24@@ -790,7 +790,7 @@
38 25
39 eval "TCL_LIB_FILE=${TCL_LIB_FILE}" 26 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"