Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2020 02:01:09 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r545486 - branches/2020Q3/sysutils/openzfs-kmod
Message-ID:  <202008200201.07K219kN041950@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers (src committer)
Date: Thu Aug 20 02:01:09 2020
New Revision: 545486
URL: https://svnweb.freebsd.org/changeset/ports/545486

Log:
  MFH: 544720
  
  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:    ports-secteam (joneum)

Modified:
  branches/2020Q3/sysutils/openzfs-kmod/Makefile
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/sysutils/openzfs-kmod/Makefile
==============================================================================
--- branches/2020Q3/sysutils/openzfs-kmod/Makefile	Thu Aug 20 01:50:19 2020	(r545485)
+++ branches/2020Q3/sysutils/openzfs-kmod/Makefile	Thu Aug 20 02:01:09 2020	(r545486)
@@ -32,6 +32,8 @@ GCOV_DESC=	Build kernel module with GCOV support (Requ
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008200201.07K219kN041950>