Diff

Differences From Artifact [dd5656fd18]:

To Artifact [82c95eff2e]:


    11     11   source ../common.sh
    12     12   
    13     13   # Do not build if the "tcl" platform has been requested
    14     14   not_platforms 'tcl'
    15     15   
    16     16   # Download source
    17     17   download_src
           18  +
           19  +# Extract source
           20  +extract_src
           21  +
           22  +# Apply appropriate patches
           23  +apply_patches
    18     24   
    19     25   # Build package
    20     26   (
    21         -	rm -rf build
    22     27   	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
    23         -	mkdir build
    24         -
    25         -	cd build/ || exit 1
    26         -
    27         -	gzip -dc "../${SRC}" | tar -xf -
    28         -	cd "${BUILDDIR}" || exit 1
    29         -
    30         -	# The configure script that comes with TclReadLine is out-of-date
    31         -	autoreconf -fvi
           28  +	cd "build/${BUILDDIR}" || exit 1
    32     29   
    33     30   	# TclReadLine doesn't know it should use stubs, force it.
    34     31   	CFLAGS="${CFLAGS} -DUSE_TCL_STUBS=1"
    35     32   	CPPFLAGS="${CPPFLAGS} -DUSE_TCL_STUBS=1"
    36     33   	LDFLAGS="${LDFLAGS} $(source "${TCLCONFIGDIR}/tclConfig.sh" 2>/dev/null; eval echo "${TCL_STUB_LIB_SPEC}")" 
    37     34   	export CFLAGS CPPFLAGS LDFLAGS
    38     35