ports/136331: [update] make databases/sqlite3 compile with tcl85

fusselbaer e-ports at gmx.de
Sat Jul 4 22:20:02 UTC 2009


>Number:         136331
>Category:       ports
>Synopsis:       [update] make databases/sqlite3 compile with tcl85
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 04 22:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     fusselbaer
>Release:        7.2-STABLE i386
>Organization:
>Environment:
FreeBSD PENDRAGON.TASKFORCE 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Jun 25 04:54:00 CEST 2009     fussel at PENDRAGON.TASKFORCE:/usr/obj/usr/src/sys/PENDRAGON  i386
>Description:
Have no more tcl84 installad.
databases/sqlite3 dont't like to compile with tcl85 that i have installed.

Made patches 
patch-tcl-85-86_configure
patch-tcl-85-86_configure.ac
so databases/sclite3 compile on my box wiht tcl85,
put tcl86 in the patches too,
tcl86 with databases/sqlite is untestested.
>How-To-Repeat:

>Fix:
patch-tcl-85-86_configure
patch-tcl-85-86_configure.ac

Patch attached with submission follows:

diff -ruN files.orig/patch-tcl-85-86_configure files/patch-tcl-85-86_configure
--- files.orig/patch-tcl-85-86_configure	1970-01-01 01:00:00.000000000 +0100
+++ files/patch-tcl-85-86_configure	2009-07-04 22:51:57.000000000 +0200
@@ -0,0 +1,11 @@
+--- configure.orig	2009-07-04 22:47:36.000000000 +0200
++++ configure	2009-07-04 22:50:42.000000000 +0200
+@@ -12259,7 +12259,7 @@
+ # if not, then we fall back to plain tclsh.
+ # TODO: try other versions before falling back?
+ #
+-for ac_prog in tclsh8.4 tclsh
++for ac_prog in tclsh8.4 tclsh8.5 tclsh8.6 tclsh
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
diff -ruN files.orig/patch-tcl-85-86_configure.ac files/patch-tcl-85-86_configure.ac
--- files.orig/patch-tcl-85-86_configure.ac	1970-01-01 01:00:00.000000000 +0100
+++ files/patch-tcl-85-86_configure.ac	2009-07-04 22:37:55.000000000 +0200
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2009-07-04 22:24:23.000000000 +0200
++++ configure.ac	2009-07-04 22:28:55.000000000 +0200
+@@ -139,7 +139,7 @@
+ # if not, then we fall back to plain tclsh.
+ # TODO: try other versions before falling back?
+ # 
+-AC_CHECK_PROGS(TCLSH_CMD, [tclsh8.4 tclsh], none)
++AC_CHECK_PROGS(TCLSH_CMD, [tclsh8.4 tclsh8.5 tclsh8.6 tclsh], none)
+ if test "$TCLSH_CMD" = "none"; then
+   # If we can't find a local tclsh, then building the amalgamation will fail.
+   # We act as though --disable-amalgamation has been used.


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



More information about the freebsd-ports-bugs mailing list