[oe-commits] Tom Rini : schroedinger: Fix RPATH QA errors

git version control git at git.openembedded.org
Fri Feb 18 21:44:16 UTC 2011


Module: openembedded.git
Branch: trini/simplify-target-flags
Commit: f838e470b70a579316cdbb18cfeb0b75baee00e3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f838e470b70a579316cdbb18cfeb0b75baee00e3

Author: Tom Rini <tom_rini at mentor.com>
Date:   Fri Feb 18 12:27:34 2011 -0700

schroedinger: Fix RPATH QA errors

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/schroedinger/schroedinger.inc      |    8 +++++++-
 recipes/schroedinger/schroedinger_1.0.9.bb |    2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/recipes/schroedinger/schroedinger.inc b/recipes/schroedinger/schroedinger.inc
index 7819814..4dc8a6e 100644
--- a/recipes/schroedinger/schroedinger.inc
+++ b/recipes/schroedinger/schroedinger.inc
@@ -2,7 +2,7 @@ HOMEPAGE = "http://schrodinger.sourceforge.net/"
 LICENSE = "MPL GPL LGPL MIT"
 DEPENDS = "liboil orc-native orc"
 
-PR = "r0"
+INC_PR = "r1"
 
 SRC_URI = "http://www.diracvideo.org/download/schroedinger/${P}.tar.gz;name=schroedingertargz"
 SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
@@ -13,3 +13,9 @@ EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"
 
 inherit autotools
 
+do_configure_append () {
+        # Fix stupid libtool... handling. 
+        # rpath handling can't be disabled and the Makefile's can't be regenerated..
+        # (GNU sed required)
+        sed -i s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ ${S}/*-libtool
+}
diff --git a/recipes/schroedinger/schroedinger_1.0.9.bb b/recipes/schroedinger/schroedinger_1.0.9.bb
index 9826995..2994428 100644
--- a/recipes/schroedinger/schroedinger_1.0.9.bb
+++ b/recipes/schroedinger/schroedinger_1.0.9.bb
@@ -1,6 +1,6 @@
 require schroedinger.inc
 
-PR = "r0"
+PR = "${INC_PR}.0"
 
 inherit autotools
 





More information about the Openembedded-commits mailing list