aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-08-17 07:25:27 +0000
committerChris Rees <crees@FreeBSD.org>2011-08-17 07:25:27 +0000
commit92496b805326ec1fb9dfc0dcbd319fa2335c5b9d (patch)
treeabffed904a93ab62d592ecd6c7b978b0ffd661a3 /sysutils/lsof
parentdcc497c0bbce582e0322bb0dc58b0ef98906bbf8 (diff)
downloadports-92496b805326ec1fb9dfc0dcbd319fa2335c5b9d.tar.gz
ports-92496b805326ec1fb9dfc0dcbd319fa2335c5b9d.zip
Notes
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