[oe-commits] Jeremy Puhlman : lsof: Fix misuse of system ranlib.

git version control git at git.openembedded.org
Thu Aug 27 20:24:36 UTC 2009


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

Author: Jeremy Puhlman <jpuhlman at mvista.com>
Date:   Tue Jul 14 12:08:58 2009 -0700

lsof: Fix misuse of system ranlib.

Signed-off-by: Jeremy Puhlman <jpuhlman at mvista.com>
Signed-off-by: Chris Larson <clarson at mvista.com>

---

 recipes/lsof/lsof_4.78.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/lsof/lsof_4.78.bb b/recipes/lsof/lsof_4.78.bb
index 51f0b8b..0a24c60 100644
--- a/recipes/lsof/lsof_4.78.bb
+++ b/recipes/lsof/lsof_4.78.bb
@@ -3,6 +3,8 @@ Its name stands for LiSt Open Files, and it does just that."
 SECTION = "devel"
 LICENSE = "BSD"
 
+PR = "r1"
+
 SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2"
 LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
 S = "${WORKDIR}/lsof_${PV}_src"
@@ -29,7 +31,8 @@ export L = "${STAGING_INCDIR}"
 export EXTRA_OEMAKE = ""
 
 do_compile () {
-	oe_runmake 'CC=${CC}' 'CFGL=${LDFLAGS} -L./lib -llsof' 'DEBUG=' 'INCL=${CFLAGS}'
+	oe_runmake 'CC=${CC}' 'CFGL=${LDFLAGS} -L./lib -llsof' 'DEBUG=' 'INCL=${CFLAGS}' \
+	'RANLIB=${RANLIB} liblsof.a'
 }
 
 do_install () {





More information about the Openembedded-commits mailing list