Overview
| Comment: | Updated to work around bug in Itcl where cross-compiling from UNIX to non-UNIX (or vice versa) fails |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
c5a5106f2cc5eca414739ed4b92ab4c7 |
| User & Date: | rkeene on 2010-09-26 04:43:12 |
| Other Links: | manifest | tags |
Context
|
2010-09-26
| ||
| 04:43 | Updated to create "tkbase.res.o" if building for Win32 check-in: d7a9831961 user: rkeene tags: trunk | |
| 04:43 | Updated to work around bug in Itcl where cross-compiling from UNIX to non-UNIX (or vice versa) fails check-in: c5a5106f2c user: rkeene tags: trunk | |
| 04:43 | Added additional aliases for MingW32 check-in: 9bbcaed141 user: rkeene tags: trunk | |
Changes
Modified itcl/build.sh from [7b29c2b2f9] to [d5535b0fe9].
| ︙ | ︙ | |||
62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
if [ ! -d '../buildsrc' ]; then
gzip -dc "../${SRC}" | tar -xf -
else
cp -rp ../buildsrc/* './'
fi
cd "${BUILDDIR}" || exit 1
./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
${MAKE:-make} || exit 1
${MAKE:-make} install
mkdir "${OUTDIR}/lib" || exit 1
| > > > > > > > > > > > > > > > > | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
if [ ! -d '../buildsrc' ]; then
gzip -dc "../${SRC}" | tar -xf -
else
cp -rp ../buildsrc/* './'
fi
cd "${BUILDDIR}" || exit 1
# Work around bug where Itcl v3.4 picks up wrong platform when cross-compiling
case "${TCLCONFIGDIR}" in
*/win)
TEA_PLATFORM="windows"
export TEA_PLATFORM
;;
*)
TEA_PLATFORM="unix"
export TEA_PLATFORM
;;
esac
sed 's@TEA_PLATFORM=@test -z "$TEA_PLATFORM" \&\& &@' configure > configure.new && cat configure.new > configure
rm -f configure.new
# Build
./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
${MAKE:-make} || exit 1
${MAKE:-make} install
mkdir "${OUTDIR}/lib" || exit 1
|
| ︙ | ︙ |