Check-in [c5a5106f2c]
Overview
Comment:Updated to work around bug in Itcl where cross-compiling from UNIX to non-UNIX (or vice versa) fails
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c5a5106f2cc5eca414739ed4b92ab4c7d3c50090
User & Date: rkeene on 2010-09-26 04:43:12
Other Links: manifest | tags
Context
2010-09-26
04:43
Updated to create "tkbase.res.o" if building for Win32 check-in: d7a9831961 user: rkeene tags: trunk
04:43
Updated to work around bug in Itcl where cross-compiling from UNIX to non-UNIX (or vice versa) fails check-in: c5a5106f2c user: rkeene tags: trunk
04:43
Added additional aliases for MingW32 check-in: 9bbcaed141 user: rkeene tags: trunk
Changes

Modified itcl/build.sh from [7b29c2b2f9] to [d5535b0fe9].

    62     62   	if [ ! -d '../buildsrc' ]; then
    63     63   		gzip -dc "../${SRC}" | tar -xf -
    64     64   	else    
    65     65   		cp -rp ../buildsrc/* './'
    66     66   	fi
    67     67   
    68     68   	cd "${BUILDDIR}" || exit 1
           69  +
           70  +	# Work around bug where Itcl v3.4 picks up wrong platform when cross-compiling
           71  +	case "${TCLCONFIGDIR}" in
           72  +		*/win)
           73  +			TEA_PLATFORM="windows"
           74  +			export TEA_PLATFORM
           75  +			;;
           76  +		*)
           77  +			TEA_PLATFORM="unix"
           78  +			export TEA_PLATFORM
           79  +			;;
           80  +	esac
           81  +	sed 's@TEA_PLATFORM=@test -z "$TEA_PLATFORM" \&\& &@' configure > configure.new && cat configure.new > configure
           82  +	rm -f configure.new
           83  +
           84  +	# Build
    69     85   	./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    70     86   
    71     87   	${MAKE:-make} || exit 1
    72     88   
    73     89   	${MAKE:-make} install
    74     90   
    75     91   	mkdir "${OUTDIR}/lib" || exit 1