aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-04-15 15:03:19 +0000
committerChris Rees <crees@FreeBSD.org>2012-04-15 15:03:19 +0000
commitf42989b0c3ac5498ac05fa1d8a73d79d32b00604 (patch)
tree0d7299652b4c15b31234d172a4ddba9eaeaf3260 /sysutils/lsof
parent301e266112f12ce90fc97fb01547c1737a133969 (diff)
downloadports-f42989b0c3ac5498ac05fa1d8a73d79d32b00604.tar.gz
ports-f42989b0c3ac5498ac05fa1d8a73d79d32b00604.zip
Notes
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index d783d6e92415..27ca6945fb81 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -47,6 +47,12 @@ CONFIGURE_ENV= LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"
PLIST_FILES= sbin/lsof
MAN8= lsof.8
+.include <bsd.port.pre.mk>
+
+.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
+IGNORE= requires kernel sources
+.endif
+
.if !defined(FIXUP_RELEASE)
post-extract:
@( cd ${WRKDIR}/${DISTNAME} ; \
@@ -75,4 +81,4 @@ post-install:
${FIND} -d share/lsof -type d \
| ${SED} -e 's/^/@dirrm /g' >>${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>