Re: WITHOUT_MODULES in make.conf causes www/apache24 to fail

From: David Wolfskill <>
Date: Thu, 24 Nov 2022 15:33:09 UTC
On Thu, Nov 24, 2022 at 10:22:01AM -0500, Michael Jung wrote:
> ...
> As of 2022-11-24 ~10:00 AM EST if you have /usr/ports made using 
> portsnap or poudriere  tracking main
> ... 
> poudriere:
> ===>  apache24-2.4.54 : Error from WITH(OUT)_MODULES has been
> removed, use www_apache24_(UN)SET.
> *** Error code 1
> I have determined that if you have "WITHOUT_MODULES" in make.conf to 
> exclude modules from a kernel build you get this error.  I have not 
> found any documentation that you should use "UNSET_MODULES" in make.conf.
> ...

You may find it useful to place such directives in /etc/src.conf, rathr
than /etc/make.conf.

From respective man pages:

     The file make.conf contains system-wide settings that will apply to every
     build using make(1) and the standard file.

     The src.conf file contains variables that control what components will be
     generated during the build process of the FreeBSD source tree; see

Caveat: I have not tried your specific case (of building the system 
with "WITHOUT_MODULES" defined).

David H. Wolfskill                    
"attempts made by certain countries to rewrite and reshape world history
are becoming increasingly aggressive, ultimately and obviously seeking
to divide our society, take away our guiding lines and eventually weaken
Russia."  -- V. Putin, obviously referring to his own efforts

See for my public key.