Diff

Differences From Artifact [f95adb2a3c]:

To Artifact [49efe2ef77]:


    67     67   				find "tcl${TCLVERS}" '(' -name install-sh -o -name install.sh ')' -type f | xargs chmod +x
    68     68   
    69     69   				tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}"
    70     70   			fi
    71     71   
    72     72   			rm -f "tmp-tcl.zip" "tmp-itcl.zip" "tmp-thread.zip" "tmp-tclconfig.zip"
    73     73   			rm -rf "tcl-${CVSTAG}" "itcl-${CVSTAG}" "thread-${CVSTAG}" "tclconfig-${CVSTAG}"
           74  +			rm -rf "tcl${TCLVERS}"
    74     75   		)
    75     76   	else
    76     77   		rm -f "${SRC}.tmp"
    77     78   		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
    78     79   		mv "${SRC}.tmp" "${SRC}"
    79     80   	fi
    80     81   fi
................................................................................
   108    109   
   109    110   			(
   110    111   				. "${patchscript}"
   111    112   			)
   112    113   		fi
   113    114   	done
   114    115   
   115         -	# Patch Win32 builds to always provide DllMain if we are building KitDLL
   116         -	if [ "${KITTARGET}" = "kitdll" ]; then
   117         -		## DllMain is needed when building KitDLL
   118         -		for filetopatch in win/tclWin32Dll.c win/tclWinInit.c; do
   119         -			echo "Undefining STATIC_BUILD in \"${filetopatch}\""
   120         -
   121         -			sed 's@STATIC_BUILD@NEVER_STATIC_BUILD@g' "${filetopatch}" > "${filetopatch}.new" && cat "${filetopatch}.new" > "${filetopatch}"
   122         -			rm -f "${filetopatch}.new"
   123         -		done
   124         -	fi
   125         -
   126    116   	for dir in unix win macosx __fail__; do
   127    117   		if [ "${dir}" = "__fail__" ]; then
   128    118   			# If we haven't figured out how to build it, reject.
   129    119   
   130    120   			exit 1
   131    121   		fi
   132    122