Mercurial > gub
changeset 3198:70a1498e5352
Nitpicks.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Fri, 13 Apr 2007 14:54:10 +0200 |
parents | 011af5d03ab0 |
children | 82e290302550 |
files | specs/gettext.py |
diffstat | 1 files changed, 12 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/specs/gettext.py Fri Apr 13 14:52:50 2007 +0200 +++ b/specs/gettext.py Fri Apr 13 14:54:10 2007 +0200 @@ -16,13 +16,13 @@ def configure (self): targetpackage.TargetBuildSpec.configure (self) - + ## FIXME: libtool too old for cross compile self.update_libtool () - self.file_sub ( [ - ('(SUBDIRS *=.*)examples', r'\1 '), - ], - '%(builddir)s/gettext-tools/Makefile') + self.file_sub ([ + ('(SUBDIRS *=.*)examples', r'\1 '), + ], + '%(builddir)s/gettext-tools/Makefile') class Gettext__freebsd (Gettext): def get_dependency_dict (self): @@ -51,18 +51,16 @@ ''') def configure_command (self): - return Gettext.configure_command (self) + ' --disable-libasprintf' + return Gettext.configure_command (self) + ' --disable-libasprintf' def configure (self): Gettext.configure (self) self.file_sub ( [(' gettext-tools ', ' ')], '%(builddir)s/Makefile') - def install (self): - ## compile of gettext triggers configure in between. (hgwurgh.) - self.update_libtool() + self.update_libtool () Gettext.install (self) class Gettext__local (toolpackage.ToolBuildSpec): @@ -71,11 +69,11 @@ self.with (version='0.15', mirror=download.gnu, format='gz') def get_build_dependencies (self): - return ['libtool'] + return ['libtool'] def configure (self): toolpackage.ToolBuildSpec.configure (self) - self.file_sub ( [ - ('(SUBDIRS *=.*)examples', r'\1 '), - ], - '%(builddir)s/gettext-tools/Makefile') + self.file_sub ([ + ('(SUBDIRS *=.*)examples', r'\1 '), + ], + '%(builddir)s/gettext-tools/Makefile')