[oe-commits] Thomas Zimmermann : ccrtp: fix linking against libs in /usr/lib

git version control git at git.openembedded.org
Mon Apr 19 16:47:20 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 23f2827bbf852cf9d66afd4e71d990e7d2712e3a
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=23f2827bbf852cf9d66afd4e71d990e7d2712e3a

Author: Thomas Zimmermann <ml at vdm-design.de>
Date:   Mon Apr 19 18:45:03 2010 +0200

ccrtp: fix linking against libs in /usr/lib

* it tries to link against libs in /usr/lib if they exist there
* run recipe through oe-stylize.py

Signed-off-by: Thomas Zimmermann <ml at vdm-design.de>

---

 recipes/ccrtp/ccrtp_1.7.0.bb |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/recipes/ccrtp/ccrtp_1.7.0.bb b/recipes/ccrtp/ccrtp_1.7.0.bb
index 1ebfddb..608ce3c 100644
--- a/recipes/ccrtp/ccrtp_1.7.0.bb
+++ b/recipes/ccrtp/ccrtp_1.7.0.bb
@@ -1,12 +1,16 @@
 DESCRIPTION = "GNU Common C++"
 HOMEPAGE = "http://freshmeat.net/projects/ccrtp"
 LICENSE = "GPL"
-PR="r0"
 DEPENDS = "commoncpp2"
-SRC_URI = "ftp://ftp.gnu.org/gnu/ccrtp/ccrtp-${PV}.tar.gz \
-	file://configure.ac.patch;patch=1"
+PR = "r0"
 
-inherit autotools pkgconfig autotools_stage
+SRC_URI = "ftp://ftp.gnu.org/gnu/ccrtp/ccrtp-${PV}.tar.gz;name=archive \
+           file://configure.ac.patch;patch=1"
+SRC_URI[archive.md5sum] = "eb86cd2ac06af27ea60b1a349122605c"
+SRC_URI[archive.sha256sum] = "923cd26ffc43903ef33704e46fd57f659c3ad01554927fe323635a73082d56ae"
 
-SRC_URI[md5sum] = "eb86cd2ac06af27ea60b1a349122605c"
-SRC_URI[sha256sum] = "923cd26ffc43903ef33704e46fd57f659c3ad01554927fe323635a73082d56ae"
+inherit pkgconfig autotools_stage
+
+do_configure_prepend () {
+        sed -i -e 's#COMMON_LIBPATH=`pkg-config --variable=libdir libccgnu2`#COMMON_LIBPATH=${STAGING_LIBDIR}#' configure.ac
+}





More information about the Openembedded-commits mailing list