changeset 3518:03642279125b

tcl fixes: - broken_for_distcc() - tclConfig install
author Han-Wen Nienhuys <hanwen@lilypond.org>
date Sun, 27 May 2007 14:51:47 -0300
parents 2e06f887b519
children 812944b4fd3b
files gub/specs/tcl.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/tcl.py	Sun May 27 14:49:58 2007 -0300
+++ b/gub/specs/tcl.py	Sun May 27 14:51:47 2007 -0300
@@ -7,12 +7,19 @@
     def __init__ (self, settings):
         targetpackage.TargetBuildSpec.__init__ (self, settings)
         self.with_tarball (mirror='http://prdownloads.sourceforge.net/tcl/tcl8.4.14-src.tar.gz', version='8.4.14')
+
     def license_file (self):
         return "%(srcdir)s/license.terms"
+    def broken_for_distcc (self):
+        return True
     def configure_command(self):
         return "%(srcdir)s/unix/configure --prefix=%(install_prefix)s "
+    
     def patch (self):
         self.system ("cd %(srcdir)s && patch -p1 < %(patchdir)s/tcl-8.4.14-dde.patch")
+    def install(self):
+        targetpackage.TargetBuildSpec.install (self)
+        self.system ('mv %(install_root)s/usr/lib/tclConfig.sh  %(install_root)s/usr/bin')
 
 class Tcl__mingw (Tcl):
     @context.subst_method