kumquat-buildroot/package/lsof/lsof-4.84-override-cflags.patch
Martin Banky 8db52c6e78 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>
2010-12-14 00:28:25 +01:00

14 lines
409 B
Diff

--- lsof_4.84/Configure 2008-10-21 18:21:45.000000000 +0200
+++ lsof_4.84/Configure 2010-11-03 14:00:00.000000000 +0100
@@ -5206,6 +5206,10 @@
cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF
fi # }
cat ./dialects/$LSOF_DIALECT_DIR/$LSOF_REST >> $LSOF_MKFC
+if test "X$LSOF_CFLAGS_OVERRIDE" != "X" # {
+then
+ sed -i -e 's/^CFLAGS=/override CFLAGS=/' $LSOF_MKFC
+fi # }
if test "X$LSOF_LIB_NO" = "X" # {
then