summaryrefslogtreecommitdiff
path: root/recipes/tcltk/tcl-8.5.8/tcllibrary.diff
blob: f61e7880191c2cab4e412fdace0c3bea114604d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- tcl8.5-8.5.8.orig/unix/configure
+++ tcl8.5-8.5.8/unix/configure
@@ -18808,7 +18808,7 @@
 
 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
 
-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
 PRIVATE_INCLUDE_DIR='$(includedir)'
 HTML_DIR='$(DISTDIR)/html'
 
--- tcl8.5-8.5.8.orig/unix/configure.in
+++ tcl8.5-8.5.8/unix/configure.in
@@ -734,7 +734,7 @@
 
 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
 
-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
 PRIVATE_INCLUDE_DIR='$(includedir)'
 HTML_DIR='$(DISTDIR)/html'