Page MenuHomeFreeBSD

remind user of variable used to set src tree location
ClosedPublic

Authored by emaste on Dec 6 2019, 7:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 3:07 AM
Unknown Object (File)
Aug 25 2025, 7:35 AM
Unknown Object (File)
Aug 12 2025, 8:17 PM
Unknown Object (File)
Aug 11 2025, 11:51 PM
Unknown Object (File)
Aug 3 2025, 12:23 PM
Unknown Object (File)
Jul 21 2025, 5:50 AM
Unknown Object (File)
Jul 21 2025, 5:26 AM
Unknown Object (File)
Jul 21 2025, 5:25 AM
Subscribers
None

Details

Summary

trying to build kmod ports without a src tree in /usr/src results in a failure that the build requires kernel source files in /usr/src. Mention also the make variable (SRC_BASE) that sets this patch as a hint to users building against a src tree located elsewhere.


My src trees are usually in a directory like ~/src/freebsd and the location can be set with SRC_BASE=..., but I can never recall if it's SRCTOP or SRC_TOP or whatnot. Mention the variable name in the error as a hint.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Dec 6 2019, 7:46 PM
This revision was automatically updated to reflect the committed changes.