1 |
On Sat, Sep 25, 2021 at 11:32:15PM -0000, Grant Edwards wrote: |
2 |
> I'd like to build slrn with --enable-inews, but that doesn't seem to |
3 |
> be suppored by the ebuild. Is there some way to control autotools |
4 |
> 'configure' options other than USE flags? |
5 |
|
6 |
Almost all ebuilds using ./configure support reading EXTRA_ECONF to |
7 |
pass additional arguments (done automatically through econf wrapper). |
8 |
|
9 |
e.g. EXTRA_ECONF="--enable-inews" could be added through package.env[1] |
10 |
|
11 |
Can similarly be done for meson and cmake with MYMESONARGS and |
12 |
MYCMAKEARGS if the ebuild is using the meson/cmake eclass. |
13 |
ebuilds with custom systems may sometime use EXTRA_ECONF anyway |
14 |
or some other custom variable (e.g. EXTRA_FFMPEG_CONF), usually |
15 |
seen in the ebuild itself. |
16 |
|
17 |
If you think it's an important option (haven't checked what it's |
18 |
about), could also fill a bug to get it added / supported for |
19 |
the long term. |
20 |
|
21 |
[1] https://wiki.gentoo.org/wiki//etc/portage/package.env |
22 |
-- |
23 |
ionen |