Index: head/sysutils/lsof/Makefile =================================================================== --- head/sysutils/lsof/Makefile (revision 502242) +++ head/sysutils/lsof/Makefile (revision 502243) @@ -1,43 +1,44 @@ # Created by: David O'Brien # $FreeBSD$ PORTNAME= lsof DISTVERSION= 4.93.2 +PORTREVISION= 1 PORTEPOCH= 8 CATEGORIES= sysutils MAINTAINER= ler@FreeBSD.org COMMENT= Lists information about open files (similar to fstat(1)) LICENSE= lsof LICENSE_NAME= lsof LICENSE_FILE= ${FILESDIR}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= shebangfix tar:bzip2 HAS_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= lsof-org SHEBANG_FILES= scripts/sort_res.perl5 .include CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= -n freebsd CONFIGURE_ENV= LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys" .if !exists(${SRC_BASE}/sys/kern/kern_lockf.c) IGNORE= requires kernel sources .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/Lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8 @${MKDIR} ${STAGEDIR}${PREFIX}/share/lsof ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${PREFIX}/share/lsof @${CHMOD} 0444 ${STAGEDIR}${PREFIX}/share/lsof/00* .include Index: head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h =================================================================== --- head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h (nonexistent) +++ head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h (revision 502243) @@ -0,0 +1,21 @@ +Index: sysutils/lsof/files/patch-dialects-freebsd-dlsof.h +=================================================================== +--- /dev/null ++++ sysutils/lsof/files/patch-dialects-freebsd-dlsof.h +@@ -0,0 +1,16 @@ ++--- dialects/freebsd/dlsof.h.orig 2019-05-08 07:32:25 UTC +++++ dialects/freebsd/dlsof.h ++@@ -45,6 +45,13 @@ ++ #include ++ #include ++ +++#if FREEBSDV>=13000 +++/* This header is a huge mess. Please don't support EOL FreeBSD releases. */ +++#define _KERNEL 1 +++#include +++#undef _KERNEL +++#endif /* FREEBSDV>=13000 */ +++ ++ # if FREEBSDV>=4000 ++ # if FREEBSDV>=5000 ++ # if FREEBSDV<6020 Property changes on: head/sysutils/lsof/files/patch-dialects-freebsd-dlsof.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property