[PATCH] Fix config.cache creation on a Mac

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Wed Apr 24 00:31:02 PDT 2013


Thiago Macieira wrote:
> On terça-feira, 23 de abril de 2013 21.24.01, subsurface at henrik.synth.no
> wrote:
>> From: Henrik Brautaset Aronsen<subsurface at henrik.synth.no>
>>
>> Mac uses BSD sed by default, which doesn't support \n substition
>> by default.  Replacing sed with tr.
>
> Looks good to me. Sorry about leaving it with sed. I had other things I was
> sed'ding during development...

No problem, you've done a fantastic job with the Makefile.  You couldn't 
have predicted the outcome every platform :)

We use sed elsewhere in the Makefile as well, but the differences 
between gnu sed and bsd sed aren't always obvious.

Henrik


More information about the subsurface mailing list