aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile8
-rw-r--r--sysutils/lsof/distinfo4
2 files changed, 9 insertions, 3 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 855cd4829e1c..559e1c06c095 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= lsof
-PORTVERSION= 4.85C
+PORTVERSION= 4.85D
PORTREVISION= 1
PORTEPOCH= 5
CATEGORIES= sysutils
@@ -70,6 +70,12 @@ post-extract:
# ${DISTDIR}/freebsd_3.0_patch > ${WRKDIR}/p
# ${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/p
+post-patch:
+.if (${OSVERSION} >= 900039)
+ ${REINPLACE_CMD} -e 's/cpumask_t/cpuset_t/' \
+ ${WRKSRC}/dialects/freebsd/machine.h
+.endif
+
do-install:
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -m 2755 -g kmem ${WRKSRC}/lsof ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/lsof.8 ${MAN8PREFIX}/man/man8/lsof.8
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index 8db191c45f6d..5c81a1167352 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,2 +1,2 @@
-SHA256 (lsof_4.85C.freebsd.tar.bz2) = 8fcfc4e66bd3c774715afaed4496e53f38a2cf397ff3cbfcf44d6b62ade2bff8
-SIZE (lsof_4.85C.freebsd.tar.bz2) = 477945
+SHA256 (lsof_4.85D.freebsd.tar.bz2) = 9a37942f54ae715ecec5f092ea0ce59190dbb11b827316b7c3e86a4483caf14d
+SIZE (lsof_4.85D.freebsd.tar.bz2) = 479129