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

From: Michael Jung <>
Date: Thu, 24 Nov 2022 15:43:05 UTC

I new that... I guess I'm getting old...

Indeed moving WITHOUT_MODULES to src.conf resolves the issue for both 
"Make" and "poudriere".

Having said that this still appears to be an issue with the apache24 check.

Thanks for your quick response.  I will be more careful in placing 
kernel directives in src.conf!


On 11/24/2022 10:33 AM, David Wolfskill wrote:
> 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:
> make.conf:
>       The file make.conf contains system-wide settings that will apply to every
>       build using make(1) and the standard file.
> src.conf:
>       The src.conf file contains variables that control what components will be
>       generated during the build process of the FreeBSD source tree; see
>       build(7).
> Caveat: I have not tried your specific case (of building the system
> with "WITHOUT_MODULES" defined).