sysutils/lsof: 4.89B -> 4.89C

- Updated for latest version of FreeBSD 11.0-CURRENT.
- Compensated for a missing FreeBSD 10.0 typedef of bool on the
  i386 architecture. Allen Hewes provided a test system.
  Andrey Chernov provided useful advice.
- Improved tests/Add2TestDB script with a patch from Peter Schiffer.
  Added patches from Peter to eliminate Linux gcc warnings.
  Updated Lsof.8 with improvements supplied by Bjarni Ingi Gislason.
- Changed FreeBSD global CFLAGS extraction per Terry Kennedy
  Also made sure -DNEEDS_BOOL_TYPEDEF is #define'd when the resulting
  CFLAGS doesn't contain it. Terry reported that need.

PR:		197388
Submitted by:	Larry Rosenman <ler@lerctr.org> (maintainer)
This commit is contained in:
Kurt Jaeger 2015-02-13 19:09:02 +00:00
parent fe7642d357
commit a07c0217ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378940
3 changed files with 3 additions and 15 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= lsof
DISTVERSION= 4.89B
DISTVERSION= 4.89C
PORTEPOCH= 8
CATEGORIES= sysutils
MASTER_SITES= http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \
@ -49,7 +49,6 @@ CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -n freebsd
CONFIGURE_ENV= LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"
CFLAGS+= -DNEEDS_BOOL_TYPEDEF
.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
IGNORE= requires kernel sources

View file

@ -1,2 +1,2 @@
SHA256 (lsof_4.89B.freebsd.tar.bz2) = d1c0836e5bb20fd307c0f4993debc2027cfa0e887595f7f6d7e81d9729013c04
SIZE (lsof_4.89B.freebsd.tar.bz2) = 483864
SHA256 (lsof_4.89C.freebsd.tar.bz2) = 8f094ba7512f5fd5f893a8b8fd5f510bc9e61eb9269e6b6413a554cf5eebea6b
SIZE (lsof_4.89C.freebsd.tar.bz2) = 483625

View file

@ -1,11 +0,0 @@
--- Configure.orig 2014-12-19 19:55:04.000000000 +0100
+++ Configure 2015-02-01 12:45:30.783557202 +0100
@@ -1642,7 +1642,7 @@
then
FREEBSD_MAKE_CONF="/etc/make.conf"
fi # }
- if test -r $FREEBSD_MAKE_CONF # {
+ if test $FREEBSD_MAKE_CONF # {
then
LSOF_TMP1=`echo "all:\n.include <bsd.prog.mk>" | $LSOF_MAKE -f- -VCFLAGS`
LSOF_TMP=1