1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Set IGNORE if no kernel sources present

Approved by:	maintainer (Larry Rosenman <ler@lerctr.org>)
This commit is contained in:
Chris Rees 2012-04-15 15:03:19 +00:00
parent 301e266112
commit f42989b0c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294862

View File

@ -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>