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
11
12
13
14
15
16











		$ ./kitcreator 8.5.8

	2. Create a Tclkit for Tcl from CVS HEAD:
		$ ./kitcreator cvs_HEAD

	3. To clean up post-build:
		$ ./kitcreator clean


















>
>
>
>
>
>
>
>
>
>
>
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
		$ ./kitcreator 8.5.8

	2. Create a Tclkit for Tcl from CVS HEAD:
		$ ./kitcreator cvs_HEAD

	3. To clean up post-build:
		$ ./kitcreator clean

Environment variables:
	1. MAKE
		Specifies the tool you wish to be called to build targets
		from a Makefile.  This script is generally more well tested
		with GNU Make.

	2. PATCH
		Specifies the tool you wish to be called to apply unified
		diff patches.  This script is generally more well tested with
		GNU Patch. 

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

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
	cd "${BUILDDIR}" || exit 1
	for patch in "${PATCHDIR}/all"/metakit-${MK4VERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/metakit-${MK4VERS}-*.diff; do
		if [ ! -f "${patch}" ]; then
			continue
		fi

		echo "Applying: ${patch}"
		patch -p1 < "${patch}"
	done

	cd "${BUILDDIR}/unix" || exit 1

	# Build static libraries for linking against Tclkit
	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}/../generic" ${CONFIGUREEXTRA}
	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" || exit 1
	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" install

	exit 0
) || exit 1

exit 0







|













44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
	cd "${BUILDDIR}" || exit 1
	for patch in "${PATCHDIR}/all"/metakit-${MK4VERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/metakit-${MK4VERS}-*.diff; do
		if [ ! -f "${patch}" ]; then
			continue
		fi

		echo "Applying: ${patch}"
		${PATCH:-patch} -p1 < "${patch}"
	done

	cd "${BUILDDIR}/unix" || exit 1

	# Build static libraries for linking against Tclkit
	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}/../generic" ${CONFIGUREEXTRA}
	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" || exit 1
	"${MAKE:-make}" tcllibdir="${INSTDIR}/lib" install

	exit 0
) || exit 1

exit 0

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

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
        # Apply required patches
	for patch in "${PATCHDIR}/all"/tclvfs-${TCLVFSVERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/tclvfs-${TCLVFSVERS}-*.diff; do
		if [ ! -f "${patch}" ]; then
			continue
		fi

		echo "Applying: ${patch}"
		patch -p1 < "${patch}"
	done                                                                                                                               

	cp generic/vfs.c .

	# Build static version
	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
	"${MAKE:-make}" || exit 1







|







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
        # Apply required patches
	for patch in "${PATCHDIR}/all"/tclvfs-${TCLVFSVERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/tclvfs-${TCLVFSVERS}-*.diff; do
		if [ ! -f "${patch}" ]; then
			continue
		fi

		echo "Applying: ${patch}"
		${PATCH:-patch} -p1 < "${patch}"
	done                                                                                                                               

	cp generic/vfs.c .

	# Build static version
	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
	"${MAKE:-make}" || exit 1