On Thu, 2021-09-02 at 12:46 +0200, Michał Górny wrote:
> Signed-off-by: Michał Górny <mgo...@gentoo.org>
> ---
>  eclass/apache-module.eclass | 1 +
>  1 file changed, 1 insertion(+)
> ...
>  # @SUPPORTED_EAPIS: 5 6 7
> +# @PROVIDES: depend.apache

I'm not sure about this one. The depend.apache eclass is junk and we
should be encouraging people to move away from it (bug 616612):

  * If you want to depend on apache, depend on apache.

  * If you need paths like APACHE_MODULESDIR, the "apxs" tool is now
    in PATH so you can get it from $(apxs -q libexecdir)

  * If you need paths like APACHE_MODULES_CONFDIR, the eclass doesn't 
    work anyway. You can hard-code those paths yourself (relative to
    apxs -q sysconfdir), or if anyone feels up to the task, they could
    write a greatly simplified apache-paths.eclass that provides these
    paths via functions that are to be called outside of global scope.

If people are using anything in depend.apache, I think a warning is
appropriate. Making a promise that apache-module (which is not junk)
provides depend.apache will moreover make it harder to disentangle them
in the future if anyone decides to fix things.

Disclaimer: I'm not the apache maintainer.



Reply via email to