File: 030-apxs-no-prefix.patch

package info (click to toggle)
libapache2-mod-perl2 2.0.4-5%2Blenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 9,868 kB
  • ctags: 3,820
  • sloc: perl: 56,663; ansic: 14,001; makefile: 91; sh: 38
file content (14 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
As a comment inside apxs2 indicates:
# Debian doesn't have a CFG_PREFIX [...]
so use SYSCONFDIR instead to shut up apxs warnings.
--- a/Apache-Test/lib/Apache/TestConfigParse.pm
+++ b/Apache-Test/lib/Apache/TestConfigParse.pm
@@ -86,7 +86,7 @@ sub server_file_rel2abs {
                        'user-supplied $base' ],
                  [ $self->{inherit_config}->{ServerRoot},
                        'httpd.conf inherited ServerRoot' ],
-                 [ $self->apxs('PREFIX'),
+                 [ $self->apxs('SYSCONFDIR'),
                        'apxs-derived ServerRoot' ]);
 
     # remove surrounding quotes if any