sid-20110801 Patch tcl link failure on FreeBSD

John Wehle <[email protected]> Mon, 19 Sep 2011 03:03:31 -0400 (EDT)
Newsgroups gmane.comp.emulators.sid.devel
Message-ID <[email protected]>
Building on FreeBSD 8.2 fails when it tries to link to the freshly
built tcl8.4 library due to the tcl supplied with sid using a dot
in the version number and the sid tcl component ignoring the dot.

The enclosed patch has been tested on FreeBSD 8.2 and FreeBSD 9.

ChangeLog:

Mon Sep 19 01:17:07 EDT 2011  John Wehle  ([email protected])

	* component/tcl/configure.in: Current versions of
	FreeBSD use dot in the tcl version.

-- John
------------------------8<------------------------------8<---------------
--- component/tcl/configure.ORIGINAL	2011-09-19 00:56:18.000000000 -0400
+++ component/tcl/configure	2011-09-14 23:42:08.000000000 -0400
@@ -21292,7 +21292,7 @@
 
 case "$host" in
 *-cygwin*) tcl_hostdir=win; tcl_libdot="" ;;
-*-freebsd* | *-netbsd* | *-openbsd* | *-sunos*) # BSD omits the dot
+*-netbsd* | *-openbsd* | *-sunos*) # BSD omits the dot
            tcl_hostdir=unix; tcl_libdot="" ;;
 *)         tcl_hostdir=unix; tcl_libdot="." ;;
 esac
--- component/tcl/configure.in.ORIGINAL	2011-09-19 00:56:18.000000000 -0400
+++ component/tcl/configure.in	2011-09-14 23:41:47.000000000 -0400
@@ -29,7 +29,7 @@
 dnl find some appropriate copy of tcl/tk.
 case "$host" in
 *-cygwin*) tcl_hostdir=win; tcl_libdot="" ;;
-*-freebsd* | *-netbsd* | *-openbsd* | *-sunos*) # BSD omits the dot
+*-netbsd* | *-openbsd* | *-sunos*) # BSD omits the dot
            tcl_hostdir=unix; tcl_libdot="" ;;
 *)         tcl_hostdir=unix; tcl_libdot="." ;;
 esac
-------------------------------------------------------------------------