midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/tcl-8.7a1.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
--- unix/configure.orig	2017-09-07 12:54:11.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+++ unix/configure	2018-01-22 18:01:25.880000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -3957,7 +3957,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 $as_echo "#define _REENTRANT 1" >>confdefs.h
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-	if test "`uname -s`" = "SunOS" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+	if test "${target}" = "SunOS" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -4893,13 +4893,13 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	if test "${TEA_PLATFORM}" = "windows" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    tcl_cv_sys_version=windows
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	else
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-	    tcl_cv_sys_version=`uname -s`-`uname -r`
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+	    tcl_cv_sys_version=${target}-`uname -r`
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    if test "$?" -ne 0 ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 $as_echo "$as_me: WARNING: can't find uname command" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 		tcl_cv_sys_version=unknown
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    else
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-		if test "`uname -s`" = "AIX" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+		if test "${target}" = "AIX" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 		    tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 		fi
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    fi
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -7429,7 +7429,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-if test "`uname -s`" = "Darwin" && test "${TCL_THREADS}" = 1 && \
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+if test "${target}" = "Darwin" && test "${TCL_THREADS}" = 1 && \
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	test "`uname -r | awk -F. '{print $1}'`" -lt 7; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
     # prior to Darwin 7, realpath is not threadsafe, so don't
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
     # use it when threads are enabled, c.f. bug # 711232
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -7937,7 +7937,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-    if test "`uname -s`" = "Darwin" && \
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+    if test "${target}" = "Darwin" && \
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    test "`uname -r | awk -F. '{print $1}'`" -gt 5; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	# Starting with Darwin 6 (Mac OSX 10.2), gethostbyX
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	# are actually MT-safe as they always return pointers
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -7949,7 +7949,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 $as_echo "#define HAVE_MTSAFE_GETHOSTBYADDR 1" >>confdefs.h
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-    elif test "`uname -s`" = "HP-UX" && \
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+    elif test "${target}" = "HP-UX" && \
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	      test "`uname -r|sed -e 's|B\.||' -e 's|\..*$||'`" -gt 10; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
         # Starting with HPUX 11.00 (we believe), gethostbyX
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
         # are actually MT-safe as they always return pointers
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -8330,7 +8330,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for advanced notifier support" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 $as_echo_n "checking for advanced notifier support... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-case x`uname -s` in
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+case x${target} in
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
   xLinux)
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: epoll(7)" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 $as_echo "epoll(7)" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -9676,7 +9676,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 # Darwin specific API checks and defines
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 #--------------------------------------------------------------------
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-if test "`uname -s`" = "Darwin" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+if test "${target}" = "Darwin" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
     for ac_func in getattrlist
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 do :
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
   ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -9942,13 +9942,13 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	if test "${TEA_PLATFORM}" = "windows" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    tcl_cv_sys_version=windows
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	else
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-	    tcl_cv_sys_version=`uname -s`-`uname -r`
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+	    tcl_cv_sys_version=${target}-`uname -r`
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    if test "$?" -ne 0 ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 $as_echo "$as_me: WARNING: can't find uname command" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 		tcl_cv_sys_version=unknown
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    else
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-		if test "`uname -s`" = "AIX" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+		if test "${target}" = "AIX" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 		    tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 		fi
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    fi
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -10133,9 +10133,9 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
     DTRACE_SRC="\${DTRACE_SRC}"
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
     DTRACE_HDR="\${DTRACE_HDR}"
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-    if test "`uname -s`" != "Darwin" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+    if test "${target}" != "Darwin" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	DTRACE_OBJ="\${DTRACE_OBJ}"
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-	if test "`uname -s`" = "SunOS" -a "$SHARED_BUILD" = "0" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+	if test "${target}" = "SunOS" -a "$SHARED_BUILD" = "0" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    # Need to create an intermediate object file to ensure tclDTrace.o
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    # gets included when linking against the static tcl library.
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	    STLIB_LD='stlib_ld () { /usr/ccs/bin/ld -r -o $${1%.a}.o "$${@:2}" && '"${STLIB_LD}"' $${1} $${1%.a}.o ; } && stlib_ld'
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
@@ -10219,9 +10219,9 @@
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 # AIX remembers this path and will attempt to use it at run-time to look
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 # up the Tcl library.
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-if test "`uname -s`" = "Darwin" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+if test "${target}" = "Darwin" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
-    if test "`uname -s`" = "Darwin" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
+    if test "${target}" = "Darwin" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to package libraries" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 $as_echo_n "checking how to package libraries... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) f14ffc
 	# Check whether --enable-framework was given.