Use ${SRC_BASE} in preference to /usr/src, per existing ports practice, when

overriding SYSDIR.
This commit is contained in:
Warner Losh 2005-02-25 04:29:04 +00:00
parent 56928d6bf3
commit de35210005
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129721

View file

@ -14,7 +14,7 @@ PKGNAMESUFFIX= -kmod
MAINTAINER= jon@witchspace.com
COMMENT= A graphical screensaver kernel module
SYSDIR?= /usr/src/sys
SYSDIR?= ${SRC_BASE}/sys
.if !exists(${SYSDIR}/dev/syscons/syscons.h)
IGNORE= Requires kernel source (/usr/src/sys) to build
.endif