mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -04:00
sysutils/openzfs-kmod: fix the build with a nonstandard SRC_BASE
ports that need FreeBSD's src code should check $SRC_BASE rather than assume /usr/src. For example, it should be possible to build openzfs-kmod with a command like this: env SRC_BASE=$HOME/freebsd/base/head make Approved by: freqlabs (maintainer) MFH: 2020Q3 Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D26033
This commit is contained in:
parent
44b973da90
commit
a0198ed45c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544720
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ GCOV_DESC= Build kernel module with GCOV support (Requires gcc)
|
|||
IGNORE= needs FreeBSD 12/13 with AES-CCM support
|
||||
.endif
|
||||
|
||||
MAKE_OPTS+= SYSDIR=${SRC_BASE}/sys
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
MAKE_OPTS+= WITH_DEBUG=true
|
||||
PLIST_FILES+= ${KMODDIR}/${KMODTARGET}.debug
|
||||
|
|
Loading…
Add table
Reference in a new issue