Re: RFC: building with non-default options on universe machines?

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Tue, 09 Sep 2025 17:28:20 UTC
On 9/9/25 11:54, Rick Macklem wrote:
> Hi,
> 
> This is a really dump question, but since I've tried a
> few times without success, I figured I'd ask..
> 
> I need to do a "make buildworld" with WITHOUT_MITKRB5="yes"
> set. I'd like to do it on one of the unverse machines, but I cannot
> get it to work.
> 
> I put WITHOUT_MITKRB5="yes" in a file and tried both
> SRCCONF=../src.conf and __MAKE_CONF=../src.conf.
> They both would fail at some point, because other things
> that depend on the setting would fail.
> 
> So, does anyone know what the trick is?
> 

Is ".." literal or a placeholder?  We probably don't resolve those to an
absolute path for later parts of the build, so you probably want to do that
up-front if you hadn't tried that yet -- MK_* knobs may be processed in some
or many contexts where cwd isn't the root of the src tree.

Thanks,

Kyle Evans