Diff

Differences From Artifact [f6d4d528ed]:

To Artifact [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'