Check-in [c4271b4b95]
Overview
SHA1:c4271b4b957b41c6e5cae2b6d72b82745c7958c0
Date: 2016-09-06 05:32:19
User: rkeene
Comment:Updated new build system to use a directory structure closer resembling the old one for building
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-09-06
05:38
[0164bf3fc3] Updated to create working directory since it is now nested (user: rkeene, tags: trunk)
05:32
[c4271b4b95] Updated new build system to use a directory structure closer resembling the old one for building (user: rkeene, tags: trunk)
05:28
[b949baf854] Added support for applying patches to new build system (user: rkeene, tags: trunk)
Changes

Modified common/common.sh from [5f5dece2ba] to [cb976d3070].

     4      4   pkgdir="$(pwd)"
     5      5   internalpkgname="${pkg}"
     6      6   archivedir="${pkgdir}/src"
     7      7   buildsrcdir="${pkgdir}/buildsrc"
     8      8   installdir="${pkgdir}/inst"
     9      9   runtimedir="${pkgdir}/out"
    10     10   patchdir="${pkgdir}/patches"
    11         -workdir="${pkgdir}/workdir-$$${RANDOM}${RANDOM}${RANDOM}${RANDOM}.work"
           11  +workdir="${pkgdir}/build/workdir-$$${RANDOM}${RANDOM}${RANDOM}${RANDOM}.work"
    12     12   
    13     13   _download="$(which download)"
    14     14   
    15     15   function clean() {
    16     16   	rm -rf "${installdir}" "${runtimedir}"
    17     17   }
    18     18   
    19     19   function distclean() {
    20     20   	rm -rf "${archivedir}"
    21         -	rm -rf "${pkgdir}"/workdir-*
           21  +	rm -rf "${pkgdir}"/build
    22     22   }
    23     23   
    24     24   function init() {
    25     25   	clean || return 1
    26     26   
    27     27   	TCL_VERSION="unknown"
    28     28   	if [ -f "${TCLCONFIGDIR}/tclConfig.sh" ]; then

Modified kitcreator from [9196d0a46c] to [4aecbd19cc].

    38     38   
    39     39   # Always rebuild kitsh
    40     40   rm -f "kitsh/.success"
    41     41   for pkg in ${KITCREATOR_ALLPKGS} ${KITCREATOR_PKGS}; do
    42     42   	if [ "${mode}" != "retry" -o ! -f "${pkg}/.success" ]; then
    43     43   		rm -f "${pkg}/build.log" "${pkg}/.success"
    44     44   		rm -rf "${pkg}/out" "${pkg}/inst" "${pkg}/build"
    45         -		rm -rf "${pkg}"/workdir-*
    46     45   
    47     46   		rm -rf "${pkg}/src"/tmp-*
    48     47   	fi
    49     48   
    50     49   	if [ "${mode}" = "distclean" ]; then
    51     50   		rm -rf "${pkg}/src"
    52     51   	fi