perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niko Tyni <nt...@debian.org>
Subject Re: [PATCH] Apache-Test: Fall back to SYSCONFDIR if PREFIX is not set
Date Sun, 30 Jun 2013 20:47:42 GMT
On Wed, Jun 26, 2013 at 05:18:54PM +0100, Joe Orton wrote:

> The ServerRoot directive in the default httpd.conf is set to ${prefix} 
> by the httpd buildsystem, there is a direct equivalence there, I think 
> it's certainly correct for apxs to query the PREFIX variable.  Yes, lots 
> of stuff isn't documented, that's a good reason to improve the docs not 
> to drop stuff from packages ;)

Right. Thanks for bearing with me, and sorry for not doing my
homework properly.

> How about a patch to avoid running apxs unless it proves necessary, if 
> the only problem is the stderr warnings in this case?

I'm attaching three patches, hope something there seems useful to you.

The first two of them both implement your suggestion in different 
(but mutually compatible) ways.

The third patch is one more try at putting a Debian/Ubuntu specific
workaround in: it now falls back the compiled in HTTPD_ROOT value,
which should be equivalent to PREFIX on non-buggy systems and which is
already parsed from 'httpd -V' output.

Thanks again,
-- 
Niko Tyni   ntyni@debian.org

Mime
View raw message