From: Thomas Zimmermann Date: Mon, 19 Apr 2010 16:45:03 +0000 (+0200) Subject: ccrtp: fix linking against libs in /usr/lib X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f2827bbf852cf9d66afd4e71d990e7d2712e3a;p=openembedded.git 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 --- diff --git a/recipes/ccrtp/ccrtp_1.7.0.bb b/recipes/ccrtp/ccrtp_1.7.0.bb index 1ebfddb7c2..608ce3c3b5 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 +}