Skip to contentSkip to conversation

qwt: Use ${libdir} to install libraries.

PATCH In review Philip Balister 2 participants 3 messages Aug 24, 2016 – Aug 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qwt: Use ${libdir} to install libraries.

This lets qwt build and package for systems that use lib64.

---
 meta-oe/recipes-qt/qwt/qwt.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-qt/qwt/qwt.inc +1 -0
index d3c4ed1..e1b260c 100644
@@ -16,6 +16,7 @@ do_configure_prepend() {
     sed -i -e 's:qtAddLibrary(qwt:qtAddLibrary(qwt)${QT_LIBINFIX}:g' *.prf
     sed -e 's/# QWT_CONFIG     += QwtExamples/QWT_CONFIG     += QwtExamples/g' -i qwtconfig.pri
     sed -i -e 's:/usr/local/qwt-$$QWT_VERSION:${D}${prefix}:g' ${S}/*.pri
+    sed -i -e 's:$${QWT_INSTALL_PREFIX}/lib:${D}${libdir}:g' ${S}/*.pri
 }
 
 do_install() {
Signature · 1 line
2.5.5
#1 lore raw
Quoted 1 line · Philip Balister

This lets qwt build and package for systems that use lib64.

Which branch you want to apply this?

It was removed 7 months ago!

commit 2bd11da4b50f401c9c49975aeedaaafa6a59d08b

Author:     Martin Jansa <[email protected]>
AuthorDate: Thu Jan 7 15:57:45 2016 +0100
Commit:     Martin Jansa <[email protected]>
CommitDate: Thu Jan 14 11:30:15 2016 +0100

recipes: remove recipes using or depending on qt4 bbclasses or recipes

Quoted 26 lines
---
 meta-oe/recipes-qt/qwt/qwt.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-qt/qwt/qwt.inc +1 -0
index d3c4ed1..e1b260c 100644
@@ -16,6 +16,7 @@ do_configure_prepend() {
     sed -i -e 's:qtAddLibrary(qwt:qtAddLibrary(qwt)${QT_LIBINFIX}:g' *.prf
     sed -e 's/# QWT_CONFIG     += QwtExamples/QWT_CONFIG     += QwtExamples/g' -i qwtconfig.pri
     sed -i -e 's:/usr/local/qwt-$$QWT_VERSION:${D}${prefix}:g' ${S}/*.pri
+    sed -i -e 's:$${QWT_INSTALL_PREFIX}/lib:${D}${libdir}:g' ${S}/*.pri
 }
 
 do_install() {
Signature · 7 lines
2.5.5

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 4 lines · Martin Jansa
Quoted 1 line · Philip Balister

This lets qwt build and package for systems that use lib64.

Which branch you want to apply this?

A pox on people living in the past.

Clearly I need to move this to meta-qt4.

Sorry for the noise.

Philip

Quoted 41 lines

It was removed 7 months ago!

commit 2bd11da4b50f401c9c49975aeedaaafa6a59d08b

Author:     Martin Jansa <[email protected]>
AuthorDate: Thu Jan 7 15:57:45 2016 +0100
Commit:     Martin Jansa <[email protected]>
CommitDate: Thu Jan 14 11:30:15 2016 +0100

recipes: remove recipes using or depending on qt4 bbclasses or recipes

Quoted 26 lines
---
 meta-oe/recipes-qt/qwt/qwt.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-qt/qwt/qwt.inc +1 -0
index d3c4ed1..e1b260c 100644
@@ -16,6 +16,7 @@ do_configure_prepend() {
     sed -i -e 's:qtAddLibrary(qwt:qtAddLibrary(qwt)${QT_LIBINFIX}:g' *.prf
     sed -e 's/# QWT_CONFIG     += QwtExamples/QWT_CONFIG     += QwtExamples/g' -i qwtconfig.pri
     sed -i -e 's:/usr/local/qwt-$$QWT_VERSION:${D}${prefix}:g' ${S}/*.pri
+    sed -i -e 's:$${QWT_INSTALL_PREFIX}/lib:${D}${libdir}:g' ${S}/*.pri
 }
 
 do_install() {
Signature · 7 lines
2.5.5

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel