[oe-commits] Tom Rini : tiff: Fix RPATH QA issues

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


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

Author: Tom Rini <tom_rini at mentor.com>
Date:   Thu Feb 17 15:37:53 2011 -0700

tiff: Fix RPATH QA issues

Based on the fix for 'acl'

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

---

 recipes/libtiff/tiff_3.9.4.bb |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/recipes/libtiff/tiff_3.9.4.bb b/recipes/libtiff/tiff_3.9.4.bb
index f54a19b..b64b72e 100644
--- a/recipes/libtiff/tiff_3.9.4.bb
+++ b/recipes/libtiff/tiff_3.9.4.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.remotesensing.org/libtiff/"
 DEPENDS = "zlib jpeg lzo"
 PV = "3.9.4+4.0.0beta6"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz \
 	   file://tiff-lp589145.diff;striplevel=0 \
@@ -16,7 +16,13 @@ S = "${WORKDIR}/tiff-4.0.0beta6"
 
 inherit autotools
 
-EXTRA_OECONF = "--without-x"
+EXTRA_OECONF = "--without-x --disable-rpath"
+
+do_configure_append() {
+    # Fix RPATH issues.
+    sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',
+    ${S}/config.status
+}
 
 PACKAGES =+ "tiffxx tiffxx-dbg tiffxx-dev tiff-utils tiff-utils-dbg"
 FILES_tiffxx = "${libdir}/libtiffxx.so.*"





More information about the Openembedded-commits mailing list