aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-04-15 23:03:19 +0800
committercrees <crees@FreeBSD.org>2012-04-15 23:03:19 +0800
commit5abaeb199526f94dc3a901fda54dbc1aee490323 (patch)
tree65d6ba12e0cee5bf0421cf7d88585111f7766f9b /sysutils
parente1e4c8b64921e14d533995c00fc14626240bd019 (diff)
downloadfreebsd-ports-gnome-5abaeb199526f94dc3a901fda54dbc1aee490323.tar.gz
freebsd-ports-gnome-5abaeb199526f94dc3a901fda54dbc1aee490323.tar.zst
freebsd-ports-gnome-5abaeb199526f94dc3a901fda54dbc1aee490323.zip
Set IGNORE if no kernel sources present
Approved by: maintainer (Larry Rosenman <ler@lerctr.org>)
Diffstat (limited to 'sysutils')
-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>