Check-in [a1e573a7a5]
Overview
Comment:Updated to compile correct directory most of the time
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a1e573a7a5e2ca755df08b38a4710a90006a2271
User & Date: rkeene on 2014-05-16 20:47:24
Other Links: manifest | tags
Context
2014-05-17
03:30
Minor fix of description check-in: 50d6e30f04 user: rkeene tags: trunk
2014-05-16
20:47
Updated to compile correct directory most of the time check-in: a1e573a7a5 user: rkeene tags: trunk
18:51
Fixed specifying platforms as arguments check-in: df5f7aac6c user: rkeene tags: trunk
Changes

Modified server/buildpkgs/build_all.sh from [78ecf55e1a] to [7a25fae137].

    71     71   
    72     72   			## Long-standing bug in Tcl
    73     73   			echo '#undef strtod' > "${TCLPRIVATE}/compat/strtod.c.new"
    74     74   			cat "${TCLPRIVATE}/compat/strtod.c" >> "${TCLPRIVATE}/compat/strtod.c.new"
    75     75   			cat "${TCLPRIVATE}/compat/strtod.c.new" > "${TCLPRIVATE}/compat/strtod.c"
    76     76   			rm -f "${TCLPRIVATE}/compat/strtod.c.new"
    77     77   
    78         -			for dir in unix win macosx; do
           78  +			tcl_platform_dir='unix win macosx'
           79  +
           80  +			case "${CC}" in
           81  +				*mingw*)
           82  +					# If the compiler looks like Mingw, use Windows
           83  +					tcl_platform_dir='win'
           84  +					;;
           85  +				*-*-*)
           86  +					# Default for cross-compiling is UNIX
           87  +					tcl_platform_dir='unix'
           88  +					;;
           89  +			esac
           90  +
           91  +			for dir in ${tcl_platform_dir}; do
    79     92   				cd "${TCLPRIVATE}/${dir}" || exit 1
    80     93   
    81     94   				echo " Executing: ./configure --enable-threads ${CONFIGUREEXTRA} --prefix=\"${TCLINSTDIR}\""
    82     95   				./configure --enable-threads ${CONFIGUREEXTRA} --prefix="${TCLINSTDIR}"
    83     96   
    84     97   				echo " Executing: ${MAKE:-make}"
    85     98   				${MAKE:-make} || (