Differences From Artifact [5c0e5e63d0]:
- Executable file tcl/build.sh — part of check-in [e3565593fd] at 2010-09-26 04:39:59 on branch trunk — Updated to clean up archive files after installation (user: rkeene, size: 1719) [annotate] [blame] [check-ins using]
To Artifact [6599bcea65]:
- Executable file
tcl/build.sh
— part of check-in
[b84f59e5de]
at
2010-09-26 04:40:31
on branch trunk
— Fixed issue with Tcl 8.5 and up cross-compile installation
Fixed check for no Tk libs to exclude stubs in the check, but include it in the linking (user: rkeene, size: 2283) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
60 61 62 63 64 65 66 | cd "${BUILDDIR}/${dir}" || exit 1 ./configure --disable-shared --prefix="${INSTDIR}" ${CONFIGUREEXTRA} ${MAKE:-make} || continue | | > > > > > > > > > > > > > > | 60 61 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 | cd "${BUILDDIR}/${dir}" || exit 1 ./configure --disable-shared --prefix="${INSTDIR}" ${CONFIGUREEXTRA} ${MAKE:-make} || continue ${MAKE:-make} install || ( # Work with Tcl 8.6.x's TCLSH_NATIVE solution for # cross-compile installs ${MAKE:-make} install TCLSH_NATIVE="${TCLKIT:-tclkit}" ) || ( # Make install can fail if cross-compiling using Tcl 8.5.x # because the Makefile calls "$(TCLSH)". We can't simply # redefine TCLSH because it also uses TCLSH as a build target sed 's@^$(TCLSH)@blah@' Makefile > Makefile.new cat Makefile.new > Makefile rm -f Makefile.new ${MAKE:-make} install TCLSH="../../../../../../../../../../../../../../../../../$(which "${TCLKIT:-tclkit}")" ) mkdir "${OUTDIR}/lib" || exit 1 cp -r "${INSTDIR}/lib"/* "${OUTDIR}/lib/" rm -rf "${OUTDIR}/lib/pkgconfig" rm -f "${OUTDIR}"/lib/* >/dev/null 2>/dev/null find "${OUTDIR}" -name '*.a' | xargs rm -f >/dev/null 2>/dev/null |
︙ | ︙ |