svn commit: r519159 - head/Mk/Uses

Ed Maste emaste at FreeBSD.org
Fri Dec 6 19:46:19 UTC 2019


Author: emaste (src committer)
Date: Fri Dec  6 19:46:18 2019
New Revision: 519159
URL: https://svnweb.freebsd.org/changeset/ports/519159

Log:
  on error, remind user of variable used to set src tree location
  
  trying to build kmod ports without a src tree in /usr/src results in a
  failure reporitng that the build requires kernel source files in /usr/src.
  Mention also the make variable (SRC_BASE) that sets the path as a hint to
  users building against a src tree located elsewhere.
  
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D22707

Modified:
  head/Mk/Uses/kmod.mk

Modified: head/Mk/Uses/kmod.mk
==============================================================================
--- head/Mk/Uses/kmod.mk	Fri Dec  6 19:02:43 2019	(r519158)
+++ head/Mk/Uses/kmod.mk	Fri Dec  6 19:46:18 2019	(r519159)
@@ -22,7 +22,7 @@ IGNORE=	USES=kmod takes either no arguments or 'debug'
 .endif
 
 .if !exists(${SRC_BASE}/sys/Makefile)
-IGNORE=	requires kernel source files in ${SRC_BASE}
+IGNORE=	requires kernel source files in SRC_BASE=${SRC_BASE}
 .endif
 
 CATEGORIES+=	kld


More information about the svn-ports-all mailing list