Patchwork kconfig-frontends: Fix for recent packaging changes

login
register
mail settings
Submitter Saul Wold
Date June 24, 2012, 6:06 p.m.
Message ID <1340561218-6934-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/30601/
State New
Headers show

Comments

Saul Wold - June 24, 2012, 6:06 p.m.
kconfig-frontends names it's shared library as -3.4.0.so instead of .so.3.4.0,
this causes the -dev package to grab it since it matches on *.so. This error
would also have shown up with the old PACKAGE order.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../kconfig-frontends/kconfig-frontends_3.4.bb     |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
index d95d3e8..4f95371 100644
--- a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
+++ b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
@@ -25,4 +25,10 @@  do_configure_prepend () {
 	mkdir -p scripts/.autostuff/m4
 }
 EXTRA_OECONF += "--disable-gconf --disable-qconf"
+
+# Some packages have the version preceeding the .so instead properly
+# versioned .so.<version>, so we need to reorder and repackage.
+SOLIBS = "-${PV}.so"
+FILES_SOLIBSDEV = "${libdir}/libkconfig-parser.so"
+
 BBCLASSEXTEND = "native nativesdk"