• [gentoo-user] How to control 'configure' options for slrn?

    From Grant Edwards@21:1/5 to All on Sun Sep 26 01:40:02 2021
    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?

    --
    Grant

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Grant Edwards on Sun Sep 26 03:50:01 2021
    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

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmFP0SkACgkQskQGsLCs QzSYrwf/TcWvb5l5F/pGLuog70Z8tum2N9GWmMzfsmWVfRAv4pn5PoS72L9p/jXE CAoz5OeWpieEiCIpAEuXd6KXy0lEuovR0iHw3LI6Za3KqxJnijD1FAQ6VhOJO+WK K4quV8R0tCNrrA/ND57VQJaC8nEwmU3bD6EEc94bAUK0kZ6Ii6a3XMC5aPQarrf4 pwMvOlu1RAC8WlPTxZPKGA+5B19tRTOl95ULiVo2vcdpEk6eEI9LZaV+i+G3GOwU cBGh8UjxkP+501oGnp5Z6Rf2+oiEbKO9ecuLuApGJcQkcHQeVvANycl3jEwdM6PB Zwy884GMoVdk/I5plQdDVcDtHcpn9A==
    =a02g
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Edwards@21:1/5 to Grant Edwards on Sun Sep 26 03:50:01 2021
    On 2021-09-25, Grant Edwards <grant.b.edwards@gmail.com> 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?

    found it: EXTRA_ECONF

    # EXTRA_CONF=--enable-inews emerge slrn

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Edwards@21:1/5 to Ionen Wolkens on Sun Sep 26 04:30:01 2021
    On 2021-09-26, Ionen Wolkens <ionen@gentoo.org> wrote:

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

    Yep, that works for the slrn ebuild.


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

    If I need to keep that flag, that's what I'll do.

    [...]

    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.

    Not only is NNTP getting pretty obscure and obsolete. Needing an NNTP
    client to use inews instead of NNTP for posting, is even more obscure
    and obsolete. I think EXTRA_ECONF is plenty good enough unless
    somebody is aware of any other gentoo packages that could take
    advantage of an "inews" USE flag...

    --
    Grant

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anna =?utf-8?B?4oCcQ3liZXJUYWlsb3Li@21:1/5 to All on Sun Sep 26 11:20:02 2021
    net-nntp/slrn is a proxy-maint package so feel free to either contact
    its maintainer or submit improvements by yourself.

    https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers/User_Guide#How_to_submit_package_updates

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)