[Buildroot] [RFC/PATCH 2/3] fix buildroot sed handling on Mac OS X

Heikki Lindholm holindho at cs.helsinki.fi
Fri Mar 9 19:41:33 UTC 2007


Heikki Lindholm kirjoitti:
> Bernhard Fischer kirjoitti:
> 
>> On Thu, Mar 08, 2007 at 11:44:55PM +0200, Heikki Lindholm wrote:
>>
>>> Bernhard Fischer kirjoitti:
>>>
>>>> On Sun, Feb 25, 2007 at 01:22:46PM +0200, Heikki Lindholm wrote:
>>>>
>>>>
>>>>> Include a patch for GNU sed that allows building it on Mac OS X and
>>>>> remove a spurious --prefix from sed.mk.
>>
>>
>>
>>>> It is not immediately apparent to me why you need this patch. Please
>>>> elaborate.
>>>
>>>
>>> Nor to me. But it seems to fix a sed incompatibility - it's funny, 
>>> but building GNU sed does seem to require GNU sed. If I try to build 
>>> sed-4.1.5 on OS X without this patch, ./configure fails with
>>> sed: 1: "install_sh=/tmp/sed-4.1 ...": command i expects \ followed 
>>> by text
>>> sed: 1: "install_sh=/tmp/sed-4.1 ...": command i expects \ followed 
>>> by text
>>> The patch itself is just copied from Darwinports (macports these days.)
>>
>>
>>
>> applied, thanks.
> 
> 
> Dammit. There was still one bug left:
> 
> The sed.mk makefile uses both absolute install prefix and DESTDIR 
> pointing to the same dir. Fix by removing DESTDIR.

... which is of course the wrong way to fix it. Here's a better one.

-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: buildroot-070309-sed-hostinstall.patch
Url: http://lists.busybox.net/pipermail/buildroot/attachments/20070309/2b1f9f08/attachment.diff 


More information about the buildroot mailing list