On Sat, Sep 25, 2021 at 11:32:15PM -0000, Grant Edwards wrote:
> I'd like to build slrn with --enable-inews, but that doesn't seem to
> be suppored by the ebuild. Is there some way to control autotools
> 'configure' options other than USE flags?

Almost all ebuilds using ./configure support reading EXTRA_ECONF to
pass additional arguments (done automatically through econf wrapper).

e.g. EXTRA_ECONF="--enable-inews" could be added through package.env[1]

Can similarly be done for meson and cmake with MYMESONARGS and
MYCMAKEARGS if the ebuild is using the meson/cmake eclass.
ebuilds with custom systems may sometime use EXTRA_ECONF anyway
or some other custom variable (e.g. EXTRA_FFMPEG_CONF), usually
seen in the ebuild itself.

If you think it's an important option (haven't checked what it's
about), could also fill a bug to get it added / supported for
the long term.

[1] https://wiki.gentoo.org/wiki//etc/portage/package.env
-- 
ionen

Attachment: signature.asc
Description: PGP signature

Reply via email to