Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [oe-core master] yajl: pass the cmake variable LIB_SUFFIX to handle installation on 64-bit systems
@ 2013-05-14  9:37 Olivia Yin
  2013-05-14 12:00 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Olivia Yin @ 2013-05-14  9:37 UTC (permalink / raw)
  To: openembedded-devel

WARNING: QA Issue: yajl: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/libyajl.so.2
  /usr/lib/libyajl.so
  /usr/lib/libyajl_s.a
  /usr/lib/libyajl.so.2.0.4
  /usr/lib/.debug
  /usr/lib/.debug/libyajl.so.2.0.4

NOTE: for 64-bit systems where lib64 is used you can pass the cmake
      variable LIB_SUFFIX to cause installation into the system's 'lib64'
      directory.

Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com>
---
 meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb b/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
index 7359520..9d67e2d 100644
--- a/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
+++ b/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
@@ -1,6 +1,7 @@
 DESCRIPTION = "Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=74f541bd9a2b6c8e5d0714bcdc327f32"
+PR = "r1"
 
 SRCREV = "fee1ebef9fa7dc0e9f5a23f37123b19b68c796ff"
 SRC_URI = "git://github.com/lloyd/yajl.git"
@@ -8,3 +9,5 @@ SRC_URI = "git://github.com/lloyd/yajl.git"
 S = "${WORKDIR}/git"
 
 inherit cmake lib_package
+
+EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"
-- 
1.7.0.4





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [oe-core master] yajl: pass the cmake variable LIB_SUFFIX to handle installation on 64-bit systems
  2013-05-14  9:37 [oe-core master] yajl: pass the cmake variable LIB_SUFFIX to handle installation on 64-bit systems Olivia Yin
@ 2013-05-14 12:00 ` Martin Jansa
  2013-05-14 17:09   ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2013-05-14 12:00 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1813 bytes --]

On Tue, May 14, 2013 at 05:37:29PM +0800, Olivia Yin wrote:
> WARNING: QA Issue: yajl: Files/directories were installed but not shipped
>   /usr/lib
>   /usr/lib/libyajl.so.2
>   /usr/lib/libyajl.so
>   /usr/lib/libyajl_s.a
>   /usr/lib/libyajl.so.2.0.4
>   /usr/lib/.debug
>   /usr/lib/.debug/libyajl.so.2.0.4
> 
> NOTE: for 64-bit systems where lib64 is used you can pass the cmake
>       variable LIB_SUFFIX to cause installation into the system's 'lib64'
>       directory.

Subject incorrectly says oe-core.

> Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com>
> ---
>  meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb b/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
> index 7359520..9d67e2d 100644
> --- a/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
> +++ b/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
> @@ -1,6 +1,7 @@
>  DESCRIPTION = "Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=74f541bd9a2b6c8e5d0714bcdc327f32"
> +PR = "r1"
>  
>  SRCREV = "fee1ebef9fa7dc0e9f5a23f37123b19b68c796ff"
>  SRC_URI = "git://github.com/lloyd/yajl.git"
> @@ -8,3 +9,5 @@ SRC_URI = "git://github.com/lloyd/yajl.git"
>  S = "${WORKDIR}/git"
>  
>  inherit cmake lib_package
> +
> +EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"
> -- 
> 1.7.0.4
> 
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [oe-core master] yajl: pass the cmake variable LIB_SUFFIX to handle installation on 64-bit systems
  2013-05-14 12:00 ` Martin Jansa
@ 2013-05-14 17:09   ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2013-05-14 17:09 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2188 bytes --]

On Tue, May 14, 2013 at 02:00:08PM +0200, Martin Jansa wrote:
> On Tue, May 14, 2013 at 05:37:29PM +0800, Olivia Yin wrote:
> > WARNING: QA Issue: yajl: Files/directories were installed but not shipped
> >   /usr/lib
> >   /usr/lib/libyajl.so.2
> >   /usr/lib/libyajl.so
> >   /usr/lib/libyajl_s.a
> >   /usr/lib/libyajl.so.2.0.4
> >   /usr/lib/.debug
> >   /usr/lib/.debug/libyajl.so.2.0.4
> > 
> > NOTE: for 64-bit systems where lib64 is used you can pass the cmake
> >       variable LIB_SUFFIX to cause installation into the system's 'lib64'
> >       directory.
> 
> Subject incorrectly says oe-core.
And it was already applied few days ago:
http://git.openembedded.org/meta-openembedded/commit/?id=eb040205f38eb0e2c28ccc7b4f64e9541cc82cc0

> 
> > Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com>
> > ---
> >  meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> > 
> > diff --git a/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb b/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
> > index 7359520..9d67e2d 100644
> > --- a/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
> > +++ b/meta-oe/recipes-devtools/yajl/yajl_2.0.4.bb
> > @@ -1,6 +1,7 @@
> >  DESCRIPTION = "Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C"
> >  LICENSE = "MIT"
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=74f541bd9a2b6c8e5d0714bcdc327f32"
> > +PR = "r1"
> >  
> >  SRCREV = "fee1ebef9fa7dc0e9f5a23f37123b19b68c796ff"
> >  SRC_URI = "git://github.com/lloyd/yajl.git"
> > @@ -8,3 +9,5 @@ SRC_URI = "git://github.com/lloyd/yajl.git"
> >  S = "${WORKDIR}/git"
> >  
> >  inherit cmake lib_package
> > +
> > +EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"
> > -- 
> > 1.7.0.4
> > 
> > 
> > 
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-14 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14  9:37 [oe-core master] yajl: pass the cmake variable LIB_SUFFIX to handle installation on 64-bit systems Olivia Yin
2013-05-14 12:00 ` Martin Jansa
2013-05-14 17:09   ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox