Overview
Comment: | Updated to check for 'buildsrc' directory before untarring. If found it is used. (Untested)
Updated to download sources to a temporary file and only rename on success |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
023de4a11652e1c16a7406ed8997067c |
User & Date: | rkeene on 2010-09-26 04:39:15 |
Other Links: | manifest | tags |
Context
2010-09-26
| ||
04:39 |
Corrected check for mk4tcl to actually be functional
Removed support of "config.h" and started passing all defines on the command line check-in: 636da30116 user: rkeene tags: trunk | |
04:39 |
Updated to check for 'buildsrc' directory before untarring. If found it is used. (Untested)
Updated to download sources to a temporary file and only rename on success check-in: 023de4a116 user: rkeene tags: trunk | |
04:39 | Updated to provide an empty input file to AC_LINK_IFELSE. It seems to need this. check-in: c16db35fe7 user: rkeene tags: trunk | |
Changes
Modified itcl/build.sh from [fd13456f4a] to [faf1ba23d7].
︙ | ︙ | |||
47 48 49 50 51 52 53 | echo "Skipping building Itcl, not required for ${TCL_VERSION}" exit 1 ) || exit 0 if [ ! -f "${SRC}" ]; then mkdir 'src' >/dev/null 2>/dev/null | > | > > | > > > | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | echo "Skipping building Itcl, not required for ${TCL_VERSION}" exit 1 ) || exit 0 if [ ! -f "${SRC}" ]; then mkdir 'src' >/dev/null 2>/dev/null rm -f "${SRC}.tmp" wget -O "${SRC}.tmp" "${SRCURL}" || exit 1 mv "${SRC}.tmp" "${SRC}" fi ( cd 'build' || exit 1 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 |
︙ | ︙ |
Modified mk4tcl/build.sh from [1fdbf70bfc] to [2ffb8472f5].
︙ | ︙ | |||
28 29 30 31 32 33 34 | source "${TCLCONFIGDIR}/tclConfig.sh" fi export TCL_VERSION if [ ! -f "${SRC}" ]; then mkdir 'src' >/dev/null 2>/dev/null | > | > > | > > > | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | source "${TCLCONFIGDIR}/tclConfig.sh" fi export TCL_VERSION if [ ! -f "${SRC}" ]; then mkdir 'src' >/dev/null 2>/dev/null rm -f "${SRC}.tmp" wget -O "${SRC}.tmp" "${SRCURL}" || exit 1 mv "${SRC}.tmp" "${SRC}" fi ( cd 'build' || exit 1 if [ ! -d '../buildsrc' ]; then gzip -dc "../${SRC}" | tar -xf - else cp -rp ../buildsrc/* './' fi # Apply required patches 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 |
︙ | ︙ |
Modified tcl/build.sh from [e2207437c3] to [56c78273b3].
︙ | ︙ | |||
34 35 36 37 38 39 40 | cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -r "${CVSTAG}" -P tcl mv tcl "tcl${TCLVERS}" tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}" ) else | > | > > | > > > | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -r "${CVSTAG}" -P tcl mv tcl "tcl${TCLVERS}" tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}" ) else rm -f "${SRC}.tmp" wget -O "${SRC}.tmp" "${SRCURL}" || exit 1 mv "${SRC}.tmp" "${SRC}" fi fi ( cd 'build' || exit 1 if [ ! -d '../buildsrc' ]; then gzip -dc "../${SRC}" | tar -xf - else cp -rp ../buildsrc/* './' fi cd "${BUILDDIR}" || exit 1 for dir in unix win macosx; do # Remove previous directory's "tclConfig.sh" if found rm -f 'tclConfig.sh' cd "${BUILDDIR}/${dir}" || exit 1 |
︙ | ︙ |
Modified tclvfs/build.sh from [fa5b10e0ea] to [befde2796f].
︙ | ︙ | |||
28 29 30 31 32 33 34 | source "${TCLCONFIGDIR}/tclConfig.sh" fi export TCL_VERSION if [ ! -f "${SRC}" ]; then mkdir 'src' >/dev/null 2>/dev/null | > | > > | > > > | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | source "${TCLCONFIGDIR}/tclConfig.sh" fi export TCL_VERSION if [ ! -f "${SRC}" ]; then mkdir 'src' >/dev/null 2>/dev/null rm -f "${SRC}.tmp" wget -O "${SRC}.tmp" "${SRCURL}" || exit 1 mv "${SRC}.tmp" "${SRC}" fi ( cd 'build' || exit 1 if [ ! -d '../buildsrc' ]; then gzip -dc "../${SRC}" | tar -xf - else cp -rp ../buildsrc/* './' fi cd "${BUILDDIR}" || exit 1 # Apply required patches for patch in "${PATCHDIR}/all"/tclvfs-${TCLVFSVERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/tclvfs-${TCLVFSVERS}-*.diff; do if [ ! -f "${patch}" ]; then continue |
︙ | ︙ |
Modified tk/build.sh from [766aa6ae73] to [ab29a29d10].
︙ | ︙ | |||
33 34 35 36 37 38 39 | cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tktoolkit co -r "${CVSTAG}" -P tk mv tk "tk${TCLVERS}" tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}" ) | | > | > > | > > > | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tktoolkit co -r "${CVSTAG}" -P tk mv tk "tk${TCLVERS}" tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}" ) else rm -f "${SRC}.tmp" wget -O "${SRC}.tmp" "${SRCURL}" || exit 1 mv "${SRC}.tmp" "${SRC}" fi fi ( cd 'build' || exit 1 if [ ! -d '../buildsrc' ]; then gzip -dc "../${SRC}" | tar -xf - else cp -rp ../buildsrc/* './' fi cd "${BUILDDIR}" || exit 1 for dir in unix win macosx; do # Remove previous directory's "tkConfig.sh" if found rm -f 'tkConfig.sh' cd "${BUILDDIR}/${dir}" || exit 1 |
︙ | ︙ |