macos-x, php-5.3, configure.in, problem with sed
| From: | Alexey Zakhlestin | Date: | Mon, 31 Mar 2008 15:36:53 +0000 |
| Subject: | macos-x, php-5.3, configure.in, problem with sed | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-36719@lists.php.net to get a copy of this message | ||
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/