Check-in [9e9595a17a]
Overview
Comment:Updated to allow the user to specify an alternative patch tool
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9e9595a17aac372548b32bd09896c3f5a13a4306
User & Date: rkeene on 2010-09-26 04:38:47
Other Links: manifest | tags
Context
2010-09-26
04:38
Updated to pass configure arguments to configure script check-in: 48744656f9 user: rkeene tags: trunk
04:38
Updated to allow the user to specify an alternative patch tool check-in: 9e9595a17a user: rkeene tags: trunk
04:38
KitCreator 0.0.4.x check-in: bc156bdbe1 user: rkeene tags: trunk, 0.0.4
Changes

Modified README from [ee845dc1ff] to [87fce2e9a0].

    10     10   		$ ./kitcreator 8.5.8
    11     11   
    12     12   	2. Create a Tclkit for Tcl from CVS HEAD:
    13     13   		$ ./kitcreator cvs_HEAD
    14     14   
    15     15   	3. To clean up post-build:
    16     16   		$ ./kitcreator clean
           17  +
           18  +Environment variables:
           19  +	1. MAKE
           20  +		Specifies the tool you wish to be called to build targets
           21  +		from a Makefile.  This script is generally more well tested
           22  +		with GNU Make.
           23  +
           24  +	2. PATCH
           25  +		Specifies the tool you wish to be called to apply unified
           26  +		diff patches.  This script is generally more well tested with
           27  +		GNU Patch. 

Modified mk4tcl/build.sh from [922c8bfe52] to [bf2f329a84].

    44     44   	cd "${BUILDDIR}" || exit 1
    45     45   	for patch in "${PATCHDIR}/all"/metakit-${MK4VERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/metakit-${MK4VERS}-*.diff; do
    46     46   		if [ ! -f "${patch}" ]; then
    47     47   			continue
    48     48   		fi
    49     49   
    50     50   		echo "Applying: ${patch}"
    51         -		patch -p1 < "${patch}"
           51  +		${PATCH:-patch} -p1 < "${patch}"
    52     52   	done
    53     53   
    54     54   	cd "${BUILDDIR}/unix" || exit 1
    55     55   
    56     56   	# Build static libraries for linking against Tclkit
    57     57   	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}/../generic" ${CONFIGUREEXTRA}
    58     58   	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" || exit 1
    59     59   	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" install
    60     60   
    61     61   	exit 0
    62     62   ) || exit 1
    63     63   
    64     64   exit 0

Modified tclvfs/build.sh from [f8e3e2d4f8] to [27370b8fc2].

    45     45           # Apply required patches
    46     46   	for patch in "${PATCHDIR}/all"/tclvfs-${TCLVFSVERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/tclvfs-${TCLVFSVERS}-*.diff; do
    47     47   		if [ ! -f "${patch}" ]; then
    48     48   			continue
    49     49   		fi
    50     50   
    51     51   		echo "Applying: ${patch}"
    52         -		patch -p1 < "${patch}"
           52  +		${PATCH:-patch} -p1 < "${patch}"
    53     53   	done                                                                                                                               
    54     54   
    55     55   	cp generic/vfs.c .
    56     56   
    57     57   	# Build static version
    58     58   	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    59     59   	"${MAKE:-make}" || exit 1