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
72
73
74
75
76
77
78













79
80
81
82
83
84
85

			## Long-standing bug in Tcl
			echo '#undef strtod' > "${TCLPRIVATE}/compat/strtod.c.new"
			cat "${TCLPRIVATE}/compat/strtod.c" >> "${TCLPRIVATE}/compat/strtod.c.new"
			cat "${TCLPRIVATE}/compat/strtod.c.new" > "${TCLPRIVATE}/compat/strtod.c"
			rm -f "${TCLPRIVATE}/compat/strtod.c.new"

			for dir in unix win macosx; do













				cd "${TCLPRIVATE}/${dir}" || exit 1

				echo " Executing: ./configure --enable-threads ${CONFIGUREEXTRA} --prefix=\"${TCLINSTDIR}\""
				./configure --enable-threads ${CONFIGUREEXTRA} --prefix="${TCLINSTDIR}"

				echo " Executing: ${MAKE:-make}"
				${MAKE:-make} || (







|
>
>
>
>
>
>
>
>
>
>
>
>
>







71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98

			## Long-standing bug in Tcl
			echo '#undef strtod' > "${TCLPRIVATE}/compat/strtod.c.new"
			cat "${TCLPRIVATE}/compat/strtod.c" >> "${TCLPRIVATE}/compat/strtod.c.new"
			cat "${TCLPRIVATE}/compat/strtod.c.new" > "${TCLPRIVATE}/compat/strtod.c"
			rm -f "${TCLPRIVATE}/compat/strtod.c.new"

			tcl_platform_dir='unix win macosx'

			case "${CC}" in
				*mingw*)
					# If the compiler looks like Mingw, use Windows
					tcl_platform_dir='win'
					;;
				*-*-*)
					# Default for cross-compiling is UNIX
					tcl_platform_dir='unix'
					;;
			esac

			for dir in ${tcl_platform_dir}; do
				cd "${TCLPRIVATE}/${dir}" || exit 1

				echo " Executing: ./configure --enable-threads ${CONFIGUREEXTRA} --prefix=\"${TCLINSTDIR}\""
				./configure --enable-threads ${CONFIGUREEXTRA} --prefix="${TCLINSTDIR}"

				echo " Executing: ${MAKE:-make}"
				${MAKE:-make} || (