diff options
author | crees <crees@FreeBSD.org> | 2012-04-15 23:03:19 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-04-15 23:03:19 +0800 |
commit | 5abaeb199526f94dc3a901fda54dbc1aee490323 (patch) | |
tree | 65d6ba12e0cee5bf0421cf7d88585111f7766f9b /sysutils | |
parent | e1e4c8b64921e14d533995c00fc14626240bd019 (diff) | |
download | freebsd-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/Makefile | 8 |
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> |