[OE-core] [PATCH 1/3] nspr: Integrate version 4.8.9

Koen Kooi koen at dominion.thruhere.net
Tue Feb 7 13:06:53 UTC 2012


Op 7 feb. 2012, om 14:04 heeft Andrei Gherzan het volgende geschreven:

> On Tue, Feb 7, 2012 at 14:12, Koen Kooi <koen at dominion.thruhere.net> wrote:
> 
> Op 7 feb. 2012, om 12:24 heeft Andrei Gherzan het volgende geschreven:
> 
> > Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
> > Signed-off-by: Sergey 'Jin' Bostandzhyan <jin at mediatomb.cc>
> > ---
> > meta/recipes-support/nspr/files/nspr.pc |   11 +++++++++
> > meta/recipes-support/nspr/nspr_4.8.9.bb |   36 +++++++++++++++++++++++++++++++
> > 2 files changed, 47 insertions(+), 0 deletions(-)
> > create mode 100644 meta/recipes-support/nspr/files/nspr.pc
> > create mode 100644 meta/recipes-support/nspr/nspr_4.8.9.bb
> >
> > diff --git a/meta/recipes-support/nspr/files/nspr.pc b/meta/recipes-support/nspr/files/nspr.pc
> > new file mode 100644
> > index 0000000..c3aed84
> > --- /dev/null
> > +++ b/meta/recipes-support/nspr/files/nspr.pc
> > @@ -0,0 +1,11 @@
> > +os_libs=-lpthread -ldl
> > +prefix=/usr
> > +exec_prefix=/usr
> > +libdir=/usr/lib
> > +includedir=/usr/include
> 
> The above hardcodes an fs layout that isn't true for e.g. micro
> 
> 
> A pc was the only way to make js "see" nspr.  Actually it was Jin's idea and i found it accurate for my use-case. 
> Koen, on micro how these hardcodes should look like?

You will problably need to replace them with OEPREFIX/OELIBDIR and do sed -i s:OEPREFIX:${prefix}:g *.pc in do_install_append.

regards,

Koen



More information about the Openembedded-core mailing list