summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
diff options
context:
space:
mode:
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