Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2023 14:20:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 270361] Mk/Uses/meson.mk: add --auto-features=enabled to improve determinism
Message-ID:  <bug-270361-39348-jba9IjFAGg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270361-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270361-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270361

--- Comment #34 from Jan Beich <jbeich@FreeBSD.org> ---
--auto-features=3Denabled or -Dauto_features=3Denabled passes -D<option>=3D=
enabled
for every "feature" option with "auto" as default. Meson will abort build if
the dependencies cannot be found. Port maintainers have to decide upfront
whether to specify all dependencies, expose meson options as port options or
explicitly disable stuff not available/desirable. If the port is too broken
(gstreamer1-plugins*) or upstream is uncompromising (mpv#10855) the previous
behavior can be restored by adding MESON_ARGS+=3D--auto-features=3Dauto

"feature" options were introduced in Meson 0.47. Before that "auto" as defa=
ult
was used in "combo" options. --auto-features has no impact on "combo". For
example, ports d7b48d44246e is missing in mesa-dri (until 23.1.0) as those =
are
still "combo".

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270361-39348-jba9IjFAGg>