Moving sources (base/ports) from /usr
steve at sohara.org
Fri May 15 06:16:37 UTC 2020
On Fri, 15 May 2020 07:47:16 +0200
Ede Wolf <listac at nebelschwaden.de> wrote:
> Basically you are right. For makebuild[world|kernel] that is correct, it
> is just that setting SOURCEDIR saves a question during mergemaster:
> # mergemaster -Ui
> *** /usr/src was not found.
> Found Makefile.inc1 in the current directory.
> Would you like to set SOURCEDIR to /clutter/src? [no and exit]
Ah it's an environment variable used by mergemaster, you learn
something every day :)
> But if one decides to define it, it has to be in the shell environment
> (export SOURCEDIR...), as src-env.conf or make.conf do not seem to work,
> unless I've missed something.
That makes sense it isn't being picked up by make.
Steve O'Hara-Smith <steve at sohara.org>
More information about the freebsd-questions