Check-in [9fce84fc29]
Overview
Comment:Updated to allow setting variables for individual sub-projects
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9fce84fc2998e646ab9ffdbbef972da297428e49
User & Date: rkeene on 2012-07-14 23:23:08
Other Links: manifest | tags
Context
2012-07-14
23:29
Added an LDFLAGS_ADD environment variable to add options to the end of the linking command line check-in: e8e77fe250 user: rkeene tags: trunk
23:23
Updated to allow setting variables for individual sub-projects check-in: 9fce84fc29 user: rkeene tags: trunk
2012-06-30
15:34
Updated to statically link against libgcc when building a shared object (KitDLL) check-in: 0432734c0a user: rkeene tags: trunk
Changes

Modified itcl/build.sh from [43d006685d] to [66f0227cb2].

    15     15   ITCLVERSEXTRA="b1"
    16     16   SRC="src/itcl-${ITCLVERS}.tar.gz"
    17     17   SRCURL="http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-source/${ITCLVERS}/itcl${ITCLVERS}${ITCLVERSEXTRA}.tar.gz/download"
    18     18   BUILDDIR="$(pwd)/build/itcl${ITCLVERS}"
    19     19   OUTDIR="$(pwd)/out"
    20     20   INSTDIR="$(pwd)/inst"
    21     21   export ITCLVERS SRC SRCURL BUILDDIR OUTDIR INSTDIR
           22  +
           23  +# Set configure options for this sub-project
           24  +LDFLAGS="${KC_ITCL_LDFLAGS}"
           25  +CFLAGS="${KC_ITCL_CFLAGS}"
           26  +CPPFLAGS="${KC_ITCL_CPPFLAGS}"
           27  +LIBS="${KC_ITCL_LIBS}"
           28  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    22     29   
    23     30   rm -rf 'build' 'out' 'inst'
    24     31   mkdir 'build' 'out' 'inst' || exit 1
    25     32   
    26     33   # Determine if Itcl is even needed
    27     34   (
    28     35   	TCL_VERSION="unknown"

Modified kitsh/build.sh from [43b7f533ac] to [440fd45f77].

    13     13   
    14     14   KITSHVERS="0.0"
    15     15   BUILDDIR="$(pwd)/build/kitsh-${KITSHVERS}"
    16     16   OUTDIR="$(pwd)/out"
    17     17   INSTDIR="$(pwd)/inst"
    18     18   OTHERPKGSDIR="$(pwd)/../"
    19     19   export KITSHVERS BUILDDIR OUTDIR INSTDIR OTHERPKGSDIR
           20  +
           21  +# Set configure options for this sub-project
           22  +LDFLAGS="${KC_KITSH_LDFLAGS}"
           23  +CFLAGS="${KC_KITSH_CFLAGS}"
           24  +CPPFLAGS="${KC_KITSH_CPPFLAGS}"
           25  +LIBS="${KC_KITSH_LIBS}"
           26  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    20     27   
    21     28   if [ -z "${ENABLECOMPRESSION}" ]; then
    22     29   	ENABLECOMPRESSION="1"
    23     30   fi
    24     31   export ENABLECOMPRESSION
    25     32   
    26     33   rm -rf 'build' 'out' 'inst'

Modified mk4tcl/build.sh from [e6168c799d] to [fac2b52a94].

    15     15   SRC="src/metakit-${MK4VERS}.tar.gz"
    16     16   SRCURL="http://www.equi4.com/pub/mk/metakit-${MK4VERS}.tar.gz"
    17     17   BUILDDIR="$(pwd)/build/metakit-${MK4VERS}"
    18     18   OUTDIR="$(pwd)/out"
    19     19   INSTDIR="$(pwd)/inst"
    20     20   PATCHDIR="$(pwd)/patches"
    21     21   export MK4VERS SRC SRCURL BUILDDIR OUTDIR INSTDIR PATCHDIR
           22  +
           23  +# Set configure options for this sub-project
           24  +LDFLAGS="${KC_MK4TCL_LDFLAGS}"
           25  +CFLAGS="${KC_MK4TCL_CFLAGS}"
           26  +CPPFLAGS="${KC_MK4TCL_CPPFLAGS}"
           27  +LIBS="${KC_MK4TCL_LIBS}"
           28  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    22     29   
    23     30   rm -rf 'build' 'out' 'inst'
    24     31   mkdir 'build' 'out' 'inst' || exit 1
    25     32   
    26     33   TCL_VERSION="unknown"
    27     34   if [ -f "${TCLCONFIGDIR}/tclConfig.sh" ]; then
    28     35           source "${TCLCONFIGDIR}/tclConfig.sh"

Modified tcl/build.sh from [96b0881095] to [93c05ef384].

    15     15   SRCURL="http://prdownloads.sourceforge.net/tcl/tcl${TCLVERS}-src.tar.gz"
    16     16   BUILDDIR="$(pwd)/build/tcl${TCLVERS}"
    17     17   OUTDIR="$(pwd)/out"
    18     18   INSTDIR="$(pwd)/inst"
    19     19   PATCHSCRIPTDIR="$(pwd)/patchscripts"
    20     20   PATCHDIR="$(pwd)/patches"
    21     21   export SRC SRCURL BUILDDIR OUTDIR INSTDIR PATCHSCRIPTDIR PATCHDIR
           22  +
           23  +# Set configure options for this sub-project
           24  +LDFLAGS="${KC_TCL_LDFLAGS}"
           25  +CFLAGS="${KC_TCL_CFLAGS}"
           26  +CPPFLAGS="${KC_TCL_CPPFLAGS}"
           27  +LIBS="${KC_TCL_LIBS}"
           28  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    22     29   
    23     30   rm -rf 'build' 'out' 'inst'
    24     31   mkdir 'build' 'out' 'inst' || exit 1
    25     32   
    26     33   if [ ! -f "${SRC}" ]; then
    27     34   	mkdir 'src' >/dev/null 2>/dev/null
    28     35   

Modified tclvfs/build.sh from [f2a658ae10] to [cad3e76073].

    15     15   SRC="src/tclvfs-${TCLVFSVERS}.tar.gz"
    16     16   SRCURL="http://sourceforge.net/projects/tclvfs/files/tclvfs/tclvfs-${TCLVFSVERS}/tclvfs-${TCLVFSVERS}.tar.gz/download"
    17     17   BUILDDIR="$(pwd)/build/tclvfs-${TCLVFSVERS}"
    18     18   OUTDIR="$(pwd)/out"
    19     19   INSTDIR="$(pwd)/inst"
    20     20   PATCHDIR="$(pwd)/patches"
    21     21   export TCLVFSVERS SRC SRCURL BUILDDIR OUTDIR INSTDIR PATCHDIR
           22  +
           23  +# Set configure options for this sub-project
           24  +LDFLAGS="${KC_TCLVFS_LDFLAGS}"
           25  +CFLAGS="${KC_TCLVFS_CFLAGS}"
           26  +CPPFLAGS="${KC_TCLVFS_CPPFLAGS}"
           27  +LIBS="${KC_TCLVFS_LIBS}"
           28  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    22     29   
    23     30   rm -rf 'build' 'out' 'inst'
    24     31   mkdir 'build' 'out' 'inst' || exit 1
    25     32   
    26     33   TCL_VERSION="unknown"
    27     34   if [ -f "${TCLCONFIGDIR}/tclConfig.sh" ]; then
    28     35   	source "${TCLCONFIGDIR}/tclConfig.sh"

Modified thread/build.sh from [3ea6ef540b] to [8b5704d8de].

    14     14   THREADVERS="2.6.5"
    15     15   SRC="src/thread-${THREADVERS}.tar.gz"
    16     16   SRCURL="http://sourceforge.net/projects/tcl/files/Thread%20Extension/${THREADVERS}/thread${THREADVERS}.tar.gz/download"
    17     17   BUILDDIR="$(pwd)/build/thread${THREADVERS}"
    18     18   OUTDIR="$(pwd)/out"
    19     19   INSTDIR="$(pwd)/inst"
    20     20   export ITCLVERS SRC SRCURL BUILDDIR OUTDIR INSTDIR
           21  +
           22  +# Set configure options for this sub-project
           23  +LDFLAGS="${KC_THREAD_LDFLAGS}"
           24  +CFLAGS="${KC_THREAD_CFLAGS}"
           25  +CPPFLAGS="${KC_THREAD_CPPFLAGS}"
           26  +LIBS="${KC_THREAD_LIBS}"
           27  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    21     28   
    22     29   rm -rf 'build' 'out' 'inst'
    23     30   mkdir 'build' 'out' 'inst' || exit 1
    24     31   
    25     32   # Determine if Threads is even needed
    26     33   (
    27     34   	TCL_VERSION="unknown"

Modified tk/build.sh from [90853f5f0d] to [65e5d2673e].

    15     15   SRCURL="http://prdownloads.sourceforge.net/tcl/tk${TCLVERS}-src.tar.gz"
    16     16   BUILDDIR="$(pwd)/build/tk${TCLVERS}"
    17     17   PATCHDIR="$(pwd)/patches"
    18     18   OUTDIR="$(pwd)/out"
    19     19   INSTDIR="$(pwd)/inst"
    20     20   PATCHSCRIPTDIR="$(pwd)/patchscripts"
    21     21   export SRC SRCURL BUILDDIR PATCHDIR OUTDIR INSTDIR PATCHSCRIPTDIR
           22  +
           23  +# Set configure options for this sub-project
           24  +LDFLAGS="${KC_TK_LDFLAGS}"
           25  +CFLAGS="${KC_TK_CFLAGS}"
           26  +CPPFLAGS="${KC_TK_CPPFLAGS}"
           27  +LIBS="${KC_TK_LIBS}"
           28  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    22     29   
    23     30   # Must be kept in-sync with "../tcl/build.sh"
    24     31   TCLFOSSILDATE="../tcl/src/tcl${TCLVERS}.tar.gz.date"
    25     32   export TCLFOSSILDATE
    26     33   
    27     34   rm -rf 'build' 'out' 'inst'
    28     35   mkdir 'build' 'out' 'inst' || exit 1

Modified zlib/build.sh from [63363c4e1f] to [2953ae8c82].

    14     14   ZLIBVERS="1.2.3"
    15     15   SRC="src/zlib-${ZLIBVERS}.tar.gz"
    16     16   SRCURL="http://sourceforge.net/projects/libpng/files/zlib/${ZLIBVERS}/zlib-${ZLIBVERS}.tar.gz/download"
    17     17   BUILDDIR="$(pwd)/build/zlib-${ZLIBVERS}"
    18     18   OUTDIR="$(pwd)/out"
    19     19   INSTDIR="$(pwd)/inst"
    20     20   export ZLIBVERS SRC SRCURL BUILDDIR OUTDIR INSTDIR
           21  +
           22  +# Set configure options for this sub-project
           23  +LDFLAGS="${KC_ZLIB_LDFLAGS}"
           24  +CFLAGS="${KC_ZLIB_CFLAGS}"
           25  +CPPFLAGS="${KC_ZLIB_CPPFLAGS}"
           26  +LIBS="${KC_ZLIB_LIBS}"
           27  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    21     28   
    22     29   rm -rf 'build' 'out' 'inst'
    23     30   mkdir 'build' 'out' 'inst' || exit 1
    24     31   
    25     32   if [ ! -f "${SRC}" ]; then
    26     33   	mkdir 'src' >/dev/null 2>/dev/null
    27     34