Mark port as depending on kernel

This commit is contained in:
Sergey Skvortsov 2004-04-16 14:16:53 +00:00
parent 114293d141
commit 073a770506
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107231
2 changed files with 16 additions and 0 deletions

View file

@ -13,6 +13,8 @@ MASTER_SITES= ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/pmap/
MAINTAINER= skv@FreeBSD.org
COMMENT= Detailed process memory display
NO_PACKAGE= Depends on kernel
PLIST_SUB= KMODDIR=${KMODDIR}
WRKSRC= ${WRKDIR}/${PORTNAME}
@ -29,4 +31,12 @@ BROKEN= "Currently does not support -CURRENT"
IGNORE= "Not supported on systems prior to 4.5"
.endif
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= "This port requires kernel sources"
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View file

@ -0,0 +1,6 @@
*******************************************************************************
* This port contains a prebuilt kernel module. Due to the ever changing *
* nature of FreeBSD it may be necessary to rebuild the module after a kernel *
* source update. To do this reinstall the port. *
*******************************************************************************