From b740fda01a634604c1af04f538719dcad9c905b8 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 6 Mar 2009 19:39:38 +0100 Subject: [PATCH] git: disable git-gui if there is no tcl/tk support --- develop/git/git.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/develop/git/git.conf b/develop/git/git.conf index a622c5033..1648e371c 100644 --- a/develop/git/git.conf +++ b/develop/git/git.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../git/git.conf -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2009 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,6 +12,11 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +# disable git-gui if there is no tcl/tk support +if ! pkginstalled tk; then + var_append extraconfopt ' ' "--without-tcltk" +fi + if pkginstalled asciidoc; then var_append makeopt ' ' 'doc' var_append makeinstopt ' ' 'install-doc'