18a2fb tcl: remove anti-cross-compilation bits from the generated tclConfig.sh.

1 file Authored by midipix 5 years ago, Committed by Lucio Andrés Illanes Albornoz 5 years ago,
    tcl: remove anti-cross-compilation bits from the generated tclConfig.sh.
    
    Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
    
        
file modified
+27 -2
patches/tcl-8.7a1.local.patch CHANGED
@@ -1,5 +1,6 @@
1
- --- unix/configure.orig 2017-09-07 12:54:11.000000000 +0000
2
- +++ unix/configure 2018-05-29 14:55:16.464000000 +0000
1
+ diff -ru a/unix/configure b/unix/configure
2
+ --- unix/configure 2017-09-07 08:54:11.000000000 -0400
3
+ +++ unix/configure 2019-08-20 12:55:27.989692823 -0400
3
4
@@ -3957,7 +3957,7 @@
4
5
5
6
$as_echo "#define _REENTRANT 1" >>confdefs.h
@@ -140,3 +141,27 @@
140
141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to package libraries" >&5
141
142
$as_echo_n "checking how to package libraries... " >&6; }
142
143
# Check whether --enable-framework was given.
144
+ @@ -10319,7 +10342,7 @@
145
+ TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`"
146
+ fi
147
+ TCL_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_LIB_FLAG}"
148
+ - TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}"
149
+ + TCL_LIB_SPEC="${TCL_LIB_FLAG}"
150
+ fi
151
+ VERSION='${VERSION}'
152
+ eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
153
+ @@ -10363,12 +10386,12 @@
154
+ fi
155
+
156
+ TCL_BUILD_STUB_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
157
+ -TCL_STUB_LIB_SPEC="-L${TCL_STUB_LIB_DIR} ${TCL_STUB_LIB_FLAG}"
158
+ +TCL_STUB_LIB_SPEC="${TCL_STUB_LIB_FLAG}"
159
+ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
160
+ TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
161
+
162
+ # Install time header dir can be set via --includedir
163
+ -eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
164
+ +#eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
165
+
166
+ #------------------------------------------------------------------------
167
+ # tclConfig.sh refers to this by a different name