Differences From Artifact [0f3c234f4e]:
- Executable file
tcl/build.sh
— part of check-in
[e143e5ef08]
at
2010-10-02 08:39:55
on branch trunk
— Updated Minkit build scripts to support buildint KitDLL
Added fix for building KitDLL on platforms without working "strtod"
Updated to support compiling TclVFS extension with "-fPIC" when building KitDLL (user: rkeene, size: 4730) [annotate] [blame] [check-ins using]
To Artifact [805b596118]:
- Executable file tcl/build.sh — part of check-in [4f2db7cae0] at 2010-10-12 15:56:10 on branch trunk — Added patch for Tcl 8.4.19 to compile with newer versions of GCC (user: rkeene, size: 5033) [annotate] [blame] [check-ins using]
| ︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | + - + |
SRC="src/tcl${TCLVERS}.tar.gz"
SRCURL="http://prdownloads.sourceforge.net/tcl/tcl${TCLVERS}-src.tar.gz"
BUILDDIR="$(pwd)/build/tcl${TCLVERS}"
OUTDIR="$(pwd)/out"
INSTDIR="$(pwd)/inst"
PATCHSCRIPTDIR="$(pwd)/patchscripts"
PATCHDIR="$(pwd)/patches"
|
| ︙ | |||
51 52 53 54 55 56 57 58 59 60 61 62 63 64 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | + + + + + + + + + + + |
if [ ! -d '../buildsrc' ]; then
gzip -dc "../${SRC}" | tar -xf -
else
cp -rp ../buildsrc/* './'
fi
cd "${BUILDDIR}" || exit 1
# Apply patches if needed
for patch in "${PATCHDIR}/all"/tcl-${TCLVERS}-*.diff "${PATCHDIR}/${TCLVERS}"/tcl-${TCLVERS}-*.diff; do
if [ ! -f "${patch}" ]; then
continue
fi
echo "Applying: ${patch}"
${PATCH:-patch} -p1 < "${patch}"
done
# Apply patch scripts if needed
for patchscript in "${PATCHSCRIPTDIR}"/*.sh; do
if [ -f "${patchscript}" ]; then
echo "Running patch script: ${patchscript}"
(
|
| ︙ |