Mercurial > gub
changeset 5370:e4c2715777db
Denemo: build darwin-x86::libsamplerate, libsndfile.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Tue, 21 Jul 2009 21:55:26 +0200 |
parents | 0069380ed85b |
children | 5f7485bde75f |
files | gub/specs/libsamplerate.py gub/specs/libsndfile.py |
diffstat | 2 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/libsamplerate.py Tue Jul 21 14:56:07 2009 +0200 +++ b/gub/specs/libsamplerate.py Tue Jul 21 21:55:26 2009 +0200 @@ -5,11 +5,14 @@ def _get_build_dependencies (self): return ['tools::automake', 'tools::pkg-config',] - class Libsamplerate__darwin__x86 (Libsamplerate): + # FIXME: PROMOTEME to build.py/target.py [or for darwin_x86 only?] def patch (self): Libsamplerate.patch (self) # somehow retriggers autoconf?!? # for i in ('configure.ac', 'configure'): for i in ['configure']: - self.file_sub ([('-fpascal-strings ', ''),], '%(srcdir)s/' + i) + self.file_sub ([('-fpascal-strings ', ''), + ('-I(/Developer/Headers/FlatCarbon)', + r'-I%(system_root)s\1'), + ], '%(srcdir)s/' + i)
--- a/gub/specs/libsndfile.py Tue Jul 21 14:56:07 2009 +0200 +++ b/gub/specs/libsndfile.py Tue Jul 21 21:55:26 2009 +0200 @@ -4,3 +4,15 @@ source = 'http://www.mega-nerd.com/libsndfile/libsndfile-1.0.20.tar.gz' def _get_build_dependencies (self): return ['tools::automake', 'tools::pkg-config', 'libtool'] + +class Libsndfile__darwin__x86 (Libsndfile): + # FIXME: PROMOTEME to build.py/target.py [or for darwin_x86 only?] + def patch (self): + Libsndfile.patch (self) + # somehow retriggers autoconf?!? +# for i in ('configure.ac', 'configure'): + for i in ['configure']: + self.file_sub ([('-fpascal-strings ', ''), + ('-I(/Developer/Headers/FlatCarbon)', + r'-I%(system_root)s\1'), + ], '%(srcdir)s/' + i)