Diff

Differences From Artifact [fd13456f4a]:

To Artifact [faf1ba23d7]:


    47     47   	echo "Skipping building Itcl, not required for ${TCL_VERSION}"
    48     48   	exit 1
    49     49   ) || exit 0
    50     50   
    51     51   if [ ! -f "${SRC}" ]; then
    52     52   	mkdir 'src' >/dev/null 2>/dev/null
    53     53   
    54         -	wget -O "${SRC}" "${SRCURL}" || exit 1
           54  +	rm -f "${SRC}.tmp"
           55  +	wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
           56  +	mv "${SRC}.tmp" "${SRC}"
    55     57   fi
    56     58   
    57     59   (
    58     60   	cd 'build' || exit 1
    59     61   
    60         -	gzip -dc "../${SRC}" | tar -xf -
           62  +	if [ ! -d '../buildsrc' ]; then
           63  +		gzip -dc "../${SRC}" | tar -xf -
           64  +	else    
           65  +		cp -rp ../buildsrc/* './'
           66  +	fi
    61     67   
    62     68   	cd "${BUILDDIR}" || exit 1
    63     69   	./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    64     70   
    65     71   	${MAKE:-make} || exit 1
    66     72   
    67     73   	${MAKE:-make} install