[Bug 276478] Mk/*: Build with a clean environment

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 Feb 2024 23:50:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276478

Benjamin Jacobs <freebsd@dev.thsi.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd@dev.thsi.be

--- Comment #15 from Benjamin Jacobs <freebsd@dev.thsi.be> ---
(In reply to Tijl Coosemans from comment #7)

> The ports tree adds its definition of ARCH to the MAKEFLAGS environment
variable, which is interpreted by sub-makes as command line arguments,
which means that any definition of ARCH in upstream makefiles was
overridden.  The following ports required fixes now that this is no
longer the case.

From what I can tell, it is already possible to set NOPRECIOUSMAKEVARS=yes for
this exact same purpose, or at least this is sufficient to remove the workaound
from lang/ocaml.

-- 
You are receiving this mail because:
You are on the CC list for the bug.