ports/122358: Make databases/mysqltcl compile with Tcl 8.3 and 8.5

Frank Fenor frank at fenor.de
Tue Apr 1 22:10:04 UTC 2008


>Number:         122358
>Category:       ports
>Synopsis:       Make databases/mysqltcl compile with Tcl 8.3 and 8.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 01 22:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Frank Fenor
>Release:        FreeBSD 7.0-PRERELEASE
>Organization:
>Environment:
FreeBSD konzentrisch.de 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: Tue Feb  5 00:33:58 CET 2008
>Description:
The current Makefile contains USE_TCL=yes which is equivalent to USE_TCL=84. Due to this, the port requires Tcl 8.4.
I tested it with Tcl 8.5 and it works perfectly fine. The port is also listed in the category tcl83, so I assume it works with Tcl 8.3 aswell. I set USE_TCL=83+ to make the port use the best available Tcl version above and including 8.3.
I also removed USE_TCL_BUILD since according to bsd.tcl.mk it's useless when USE_TCL is set.
>How-To-Repeat:
pkg_delete tcl84
cd /usr/ports/databases/mysqltcl
make clean && make
>Fix:
cd /usr/ports/databases/mysqltcl && patch -p1 < patch.txt

Patch attached with submission follows:

diff -Nru mysqltcl.vanilla/Makefile mysqltcl/Makefile
--- mysqltcl.vanilla/Makefile	2008-02-18 23:27:08.000000000 +0100
+++ mysqltcl/Makefile	2008-04-01 22:33:22.000000000 +0200
@@ -15,8 +15,7 @@
 
 USE_LDCONFIG=	yes
 USE_MYSQL=	yes
-USE_TCL=	yes
-USE_TCL_BUILD=	yes
+USE_TCL=	83+
 
 MANN=		mysqltcl.n
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list