Check-in [612f995831]
Overview
Comment:Added workaround for building bug in Tk on FreeBSD
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:612f995831b65b22ef9f2545619a7f5f9ec41b48
User & Date: rkeene on 2010-11-11 17:16:29
Other Links: manifest | tags
Context
2011-02-08
07:47
Updated to pull "CVS" updates from Fossil (location and method may change in the future) check-in: a0fa3aeee4 user: rkeene tags: trunk
06:57
Create new branch named "merge-kitdll-kitsh-common" check-in: 705256170a user: rkeene tags: merge-kitdll-kitsh-common
06:53
Create new branch named "pluggable" check-in: 960b777fca user: rkeene tags: pluggable
2010-11-11
17:16
Added workaround for building bug in Tk on FreeBSD check-in: 612f995831 user: rkeene tags: trunk
2010-11-03
14:02
Updated nightly builds to start from clean source every Wednesday check-in: f1179eeee0 user: rkeene tags: trunk
Changes

Modified tk/build.sh from [f6d4d528ed] to [394ddd8947].

   122    122   			./configure --disable-shared --disable-symbols --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
   123    123   		else
   124    124   			echo "Running: ./configure --enable-shared --disable-symbols --prefix=\"${INSTDIR}\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
   125    125   			./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
   126    126   		fi
   127    127   
   128    128   		echo "Running: ${MAKE:-make}"
   129         -		${MAKE:-make} || continue
          129  +		${MAKE:-make} || (
          130  +			# Workaround a bug in Tk on FreeBSD 8.1:
          131  +			#   https://sourceforge.net/tracker/?func=detail&atid=112997&aid=3107390&group_id=12997
          132  +			LIBTKFILE="$(ls libtk*.so.1 2>/dev/null | head -1)"
          133  +			if [ -f "${LIBTKFILE}" ]; then
          134  +				NEWLIBTKFILE="$(echo "${LIBTKFILE}" | sed 's@\.so\.1@.so@')"
          135  +				cp "${LIBTKFILE}" "${NEWLIBTKFILE}"
          136  +			fi
          137  +
          138  +			${MAKE:-make}
          139  +		) || continue
   130    140   
   131    141   		echo "Running: ${MAKE:-make} install"
   132    142   		${MAKE:-make} install || continue
   133    143   
   134    144   		# Update to include resources, if found
   135    145   		if [ "${dir}" = "win" ]; then
   136    146   			echo ' *** Creating tkbase.res.o to support Windows build'