summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff')
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff b/meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff
new file mode 100644
index 000000000..ee38c2a1a
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff
@@ -0,0 +1,22 @@
1--- tk8.5-8.5.8.orig/unix/configure
2+++ tk8.5-8.5.8/unix/configure
3@@ -11070,7 +11070,7 @@
4 TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
5 fi
6
7-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
8+test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
9 PRIVATE_INCLUDE_DIR='$(includedir)'
10 HTML_DIR='$(DISTDIR)/html'
11 TK_PKG_DIR='tk$(VERSION)'
12--- tk8.5-8.5.8.orig/unix/configure.in
13+++ tk8.5-8.5.8/unix/configure.in
14@@ -607,7 +607,7 @@
15 TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
16 fi
17
18-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
19+test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
20 PRIVATE_INCLUDE_DIR='$(includedir)'
21 HTML_DIR='$(DISTDIR)/html'
22 TK_PKG_DIR='tk$(VERSION)'