[uClibc] Re: perl -p -ie changed to sed -ie in buildroot

Peter S. Mazinger ps.m at gmx.net
Fri Nov 14 23:58:34 UTC 2003

On Fri, 14 Nov 2003, Rob Landley wrote:

> On Friday 14 November 2003 05:50, Peter S. Mazinger wrote:
> > Hello!
> >
> > > This change will produce problems on about all distros not using sed-4.x
> > > (there are some out there).
> > > My proposal: introduce a SED variable, run a test against the system's
> > > sed if it supports -i, and if not, try out busybox sed (I do not know
> > > if it supports -i, but if yes, there are some versions that do not, so
> > > check this too), and if none works, use perl -p instead.
> >
> > Another solution would be to build sed-4.x first to provide a usable sed
> > version for buildroot (buildroot provides only sed-3.02)
> >
> > Peter
> Has anybody built buildroot under buildroot yet?
It won't work, sed 3.02 does not support -i, so failure on almost each 
*.mk file. On the other side, it worked, if you added perl to the built 
targets and it depend on the chosen settings, without locale support you 
do have to patch additionally.


Peter S. Mazinger <ps.m at gmx.net>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu

More information about the uClibc mailing list