Reading the latest version of make.conf(5) gives no idea about WITHOUT_MODULES being depreciated. I use this statement to avoid building sound modules on servers in this way: WITHOUT_MODULES+=sound which worked fine for years. This setting currently breaks building apache24 from ports. # make ===> apache24-2.4.33 : Error from apache.mk. WITH(OUT)_MODULES has been removed, use www_apache24_(UN)SET. *** Error code 1 Stop.
Hi Marek, For a long time, the build framework has been issuing warnings about using WITH(OUT)_MODULES being defined. The recent update where Mk/bsd.apache.mk was migrated to Mk/Uses/apache.mk changed this from a warning to a fail as setting WITH(OUT)_MODULES doesn't do what you expect. If you need the WITH(OUT)_MODULES to configure your kernel, please move the statements to /etc/src.conf. Otherwise, please use the OPTIONS_(UN)SET= directives for ports. Cheers, Bernard.
*** This bug has been marked as a duplicate of bug 226557 ***
(In reply to Bernard Spil from comment #2) Thank you for the clarification. I will try to move this statement to src.conf for next build. IMHO if it is depreciated in make.conf, then make.conf(5) and src.conf(5) are out of sync in STABLE branch. Please consider correcting them.