schroedinger: Fix RPATH QA errors
authorTom Rini <tom_rini@mentor.com>
Fri, 18 Feb 2011 19:27:34 +0000 (12:27 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 18 Feb 2011 20:27:35 +0000 (13:27 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/schroedinger/schroedinger.inc
recipes/schroedinger/schroedinger_1.0.9.bb

index 7819814..4dc8a6e 100644 (file)
@@ -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
+}
index 9826995..2994428 100644 (file)
@@ -1,6 +1,6 @@
 require schroedinger.inc
 
-PR = "r0"
+PR = "${INC_PR}.0"
 
 inherit autotools