changeset 3812:caa0b56e5b6c

Do not wrap local guile's executables. Fixes running guile scripts. And that in turn fixes help2man from lilypond-invoke-editor --help.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Wed, 12 Sep 2007 14:36:13 +0200
parents 5f64757e84ad
children 5b1d8eee27cb
files gub/specs/guile.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/guile.py	Wed Sep 12 14:35:09 2007 +0200
+++ b/gub/specs/guile.py	Wed Sep 12 14:36:13 2007 +0200
@@ -359,6 +359,7 @@
     }
 
 from gub import toolpackage
+from gub import gubb
 class Guile__local (toolpackage.ToolBuildSpec, Guile):
     def __init__ (self, settings):
         toolpackage.ToolBuildSpec.__init__ (self, settings)
@@ -382,7 +383,10 @@
         self.update_libtool ()
 
     def install (self):
-        toolpackage.ToolBuildSpec.install (self)
+        ## guile runs fine without wrapper (if it doesn't, use the
+        ## relocation patch), while a sh wrapper breaks executable
+        ## scripts toolpackage.ToolBuildSpec.install (self)
+        gubb.BuildSpec.install (self)
 
         ## don't want local GUILE headers to interfere with compile.
         self.system ("rm -rf %(install_root)s%(packaging_suffix_dir)s%(prefix_dir)s/include/ %(install_root)s%(packaging_suffix_dir)s%(prefix_dir)s/bin/guile-config ")