summaryrefslogtreecommitdiffstats
path: root/package/lsof/lsof-4.84-makefile.patch
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-12-12 22:53:53 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-14 00:28:25 +0100
commit8db52c6e78c040d035522ca747acc7752d474cf2 (patch)
tree14ef2af5da0e571057e3deb95bf9ca4df091c06a /package/lsof/lsof-4.84-makefile.patch
parentfb7226ca2f185577f656b422f9e6a73304de71e9 (diff)
downloadbuildroot-novena-8db52c6e78c040d035522ca747acc7752d474cf2.tar.gz
buildroot-novena-8db52c6e78c040d035522ca747acc7752d474cf2.zip
lsof: convert to gentargets and bump to 4.84
lsof is packaged as a tarball inside a .tar.bz2 package, so we have a post-extract hook to extract the source code tarball, so that for the next steps, lsof looks like a normal package. Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lsof/lsof-4.84-makefile.patch')
-rw-r--r--package/lsof/lsof-4.84-makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/lsof/lsof-4.84-makefile.patch b/package/lsof/lsof-4.84-makefile.patch
new file mode 100644
index 000000000..65b1b2e2a
--- /dev/null
+++ b/package/lsof/lsof-4.84-makefile.patch
@@ -0,0 +1,14 @@
+diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel
+--- a/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100
++++ b/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100
+@@ -21,8 +21,8 @@
+ all: ${LIB}
+
+ ${LIB}: ${OBJ}
+- ${AR}
+- ${RANLIB}
++ ${AR} cr ${LIB} ${OBJ}
++ ${RANLIB} ${LIB}
+
+ clean: FRC
+ rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core