Re: Re: macos-x, php-5.3, configure.in, problem with sed
| From: | Gwynne Raskind | Date: | Tue, 15 Apr 2008 16:32:08 +0000 |
| Subject: | Re: Re: macos-x, php-5.3, configure.in, problem with sed | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37028@lists.php.net to get a copy of this message | ||
On Apr 15, 2008, at 11:28 AM, Alexey Zakhlestin wrote:
bumping up this one is still not applied in 5.3 On 3/31/08, Alexey Zakhlestin <indeyets@gmail.com> wrote:Committed to 5.3 and HEAD, thanks for the patch! -- Gwynne, Daughter of the Code "This whole world is an asylum for the incurable."There is a patch by gwynne, which introduces platform-specific hack for darwin/macos-x. http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.11&r2=1.579.2.52.2.77.2.12&pathrev=PHP_5_3 It works pretty well, except one small glitch. It is supposed in patch, that sed is "bsd sed" (note "$SED -nE" on line 187) "-E" flag is not supported by gnu-sed By default, osx has bsd sed, so this will work for most people, but there are some (including me), who install "gnu sed" and put it in PATH before '/usr/bin/sed' I attach the patch, which forces use of '/usr/bin/sed' on this line, while still allowing gnu sed everywhere else. This line is macos-x specific, so won't hurt other platforms http://filez.indeyets.pp.ru/configure.in.macosx.patch -- Alexey Zakhlestin http://blog.milkfarmsoft.com/