From 897b478408150b44f668d6e879f950335d1b8f1a Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 23 Jul 2010 18:05:23 +0200 Subject: [PATCH] sqlite: disable tcl interface if there is no tcl available in the target (see note) Note: The sqlite-amalgamation tarball we use seem to not include the TCL extension anymore, so this fix is a kind of hotfix! We should check http://sqlite.org/amalgamation.html later for deciding how we are going to integrate sqlite into OpenSDE. --- database/sqlite/sqlite.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/database/sqlite/sqlite.conf b/database/sqlite/sqlite.conf index 32157f392..e85bf43e8 100644 --- a/database/sqlite/sqlite.conf +++ b/database/sqlite/sqlite.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../sqlite/sqlite.conf -# Copyright (C) 2009 The OpenSDE Project +# Copyright (C) 2009 - 2010 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,7 +12,6 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -if pkginstalled tcl; then - # postpone tcl_install after we installed the library - hook_add postmake 5 'eval $MAKE $makeopt tcl_install' +if ! pkginstalled tcl; then + var_append extraconfopt ' ' '--disable-tcl' fi