summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/lsof/lsof_4.78.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/lsof/lsof_4.78.bb b/recipes/lsof/lsof_4.78.bb
index 51f0b8b2c4..0a24c607fa 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 () {