summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-11-11 20:07:15 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-20 14:03:24 +0000
commit5505bde50f677650f4de775abc2c342a9fb109bc (patch)
treefed861fae50919f354cd131cf54ee0196074df84 /meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
parent1ef7240bf3aac129fb3e67dfffb2275854d3c8d5 (diff)
downloadpoky-5505bde50f677650f4de775abc2c342a9fb109bc.tar.gz
tcl: Install header into 8.6 instead of PN-PV in user/include
This helps in compiling other programs like expect which depend on private headers but 8.5, 8.6 and so on is enough granularity and currently we had 8.6.x and so on which means that expect recipe will need to be touched whenever there is minor update of tcl. Additionally the encode creating symlink to shared object in patch and remove it from recipe Refresh patches after making changes to Configure.in we propertly generate configure and not patch is directly as was the case. (From OE-Core rev: 67f44193135c789e478410347ff58ed110ed9484) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/alter-includedir.patch')
-rw-r--r--meta/recipes-devtools/tcltk/tcl/alter-includedir.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch b/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
new file mode 100644
index 0000000000..f543910be9
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
@@ -0,0 +1,46 @@
1Lets install the include header and private header files into
2usr/include/tcl8.6 when version of tcl is 8.6.x
3
4Upstream-Status: Inappropriate [Configuration Specific]
5
6Signed-off-by: Khem Raj <raj.khem@gmai.com>
7
8Index: unix/Makefile.in
9===================================================================
10--- unix.orig/Makefile.in 2013-11-11 01:00:36.431550403 -0800
11+++ unix/Makefile.in 2013-11-11 01:05:09.587557282 -0800
12@@ -53,7 +53,7 @@
13 SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
14
15 # Directory in which to install the include file tcl.h:
16-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
17+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)/tcl$(VERSION)
18
19 # Path to the private tcl header dir:
20 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
21Index: unix/configure.in
22===================================================================
23--- unix.orig/configure.in 2013-11-11 01:00:36.467550403 -0800
24+++ unix/configure.in 2013-11-11 01:00:36.503550404 -0800
25@@ -791,7 +791,7 @@
26 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
27
28 TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
29-PRIVATE_INCLUDE_DIR='$(includedir)'
30+PRIVATE_INCLUDE_DIR='$(includedir)/tcl$(VERSION)'
31 HTML_DIR='$(DISTDIR)/html'
32
33 # Note: in the following variable, it's important to use the absolute
34Index: unix/configure
35===================================================================
36--- unix.orig/configure 2013-11-11 01:00:36.467550403 -0800
37+++ unix/configure 2013-11-11 01:00:36.503550404 -0800
38@@ -19134,7 +19134,7 @@
39 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
40
41 TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
42-PRIVATE_INCLUDE_DIR='$(includedir)'
43+PRIVATE_INCLUDE_DIR='$(includedir)/tcl$(VERSION)'
44 HTML_DIR='$(DISTDIR)/html'
45
46 # Note: in the following variable, it's important to use the absolute