Mercurial > gub
changeset 5603:f33cc92aba6d
freetype: double_quote configure variables. Fixes build.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Wed, 23 Sep 2009 09:31:05 +0200 |
parents | 132e373ff81d |
children | ea584e6e56de |
files | gub/misc.py gub/specs/freetype.py |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/misc.py Wed Sep 23 09:30:38 2009 +0200 +++ b/gub/misc.py Wed Sep 23 09:31:05 2009 +0200 @@ -715,6 +715,9 @@ return m[0] return url + assemble_ball (sorted (map (split_ball, m))[-1]) +def double_quote (string): + return re.sub ('''(='[^']+')''', r'"\1"', string) + start = 0 def timing (): global start
--- a/gub/specs/freetype.py Wed Sep 23 09:30:38 2009 +0200 +++ b/gub/specs/freetype.py Wed Sep 23 09:31:05 2009 +0200 @@ -103,6 +103,8 @@ class Freetype__tools (tools.AutoBuild, Freetype): def _get_build_dependencies (self): return ['libtool', 'zlib'] + def configure_variables (self): + return misc.double_quote (tools.AutoBuild.configure_variables (self)) # FIXME, mi-urg? def license_files (self): return Freetype.license_files (self)