Diff

Differences From Artifact [6d3a5c12f3]:

To Artifact [b84462b734]:


     9      9   	echo 'ERROR: The TCLVERS environment variable is not set' >&2
    10     10   
    11     11   	exit 1
    12     12   fi
    13     13   
    14     14   SRC="src/tk${TCLVERS}.tar.gz"
    15     15   SRCURL="http://prdownloads.sourceforge.net/tcl/tk${TCLVERS}-src.tar.gz"
           16  +SRCHASH='-'
    16     17   BUILDDIR="$(pwd)/build/tk${TCLVERS}"
    17     18   PATCHDIR="$(pwd)/patches"
    18     19   OUTDIR="$(pwd)/out"
    19     20   INSTDIR="$(pwd)/inst"
    20     21   PATCHSCRIPTDIR="$(pwd)/patchscripts"
    21     22   export SRC SRCURL BUILDDIR PATCHDIR OUTDIR INSTDIR PATCHSCRIPTDIR
           23  +
           24  +case "${TCLVERS}" in
           25  +	8.6.4)
           26  +		SRCHASH='08f99df85e5dc9c4271762163c6aabb962c8b297dc5c4c1af8bdd05fc2dd26c1'
           27  +		;;
           28  +esac
    22     29   
    23     30   # Set configure options for this sub-project
    24     31   LDFLAGS="${LDFLAGS} ${KC_TK_LDFLAGS}"
    25     32   CFLAGS="${CFLAGS} ${KC_TK_CFLAGS}"
    26     33   CPPFLAGS="${CPPFLAGS} ${KC_TK_CPPFLAGS}"
    27     34   LIBS="${LIBS} ${KC_TK_LIBS}"
    28     35   export LDFLAGS CFLAGS CPPFLAGS LIBS
................................................................................
    94    101   			tar -cf - "tk${TCLVERS}" | gzip -c > "../../${SRC}"
    95    102   
    96    103   			cd ..
    97    104   			rm -rf "${workdir}"
    98    105   		)
    99    106   	else
   100    107   		if [ ! -d 'buildsrc' ]; then
   101         -			download "${SRCURL}" "${SRC}" - || exit 1
          108  +			download "${SRCURL}" "${SRC}" "${SRCHASH}" || exit 1
   102    109   		fi
   103    110   	fi
   104    111   fi
   105    112   
   106    113   (
   107    114   	cd 'build' || exit 1
   108    115