]> git.pld-linux.org Git - packages/apache1.git/blob - apache1-apxs.patch
rel 15; builds
[packages/apache1.git] / apache1-apxs.patch
1 diff -urNp -x '*.orig' apache_1.3.42.org/src/support/apxs.pl apache_1.3.42/src/support/apxs.pl
2 --- apache_1.3.42.org/src/support/apxs.pl       2006-07-12 10:16:05.000000000 +0200
3 +++ apache_1.3.42/src/support/apxs.pl   2023-02-02 22:41:54.629834912 +0100
4 @@ -1,4 +1,4 @@
5 -#!/usr/local/bin/perl
6 +#!/usr/bin/perl
7  #
8  # Licensed to the Apache Software Foundation (ASF) under one or more
9  # contributor license agreements.  See the NOTICE file distributed with
10 @@ -188,15 +188,14 @@ if (@opt_S) {
11  ##
12  if ($^O ne "MSWin32") {
13  if (not -x "$CFG_SBINDIR/$CFG_TARGET") {
14 -    print STDERR "apxs:Error: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
15 -    exit(1);
16 +    print STDERR "apxs:Note: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
17  }
18 -if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) {
19 -    print STDERR "apxs:Error: Sorry, no DSO support for Apache available\n";
20 -    print STDERR "apxs:Error: under your platform. Make sure the Apache\n";
21 -    print STDERR "apxs:Error: module mod_so is compiled into your server\n";
22 -    print STDERR "apxs:Error: binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
23 -    exit(1);
24 +else { if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) {
25 +    print STDERR "apxs:Warning: Sorry, no DSO support for Apache available\n";
26 +    print STDERR "apxs:Warning: under your platform. Make sure the Apache\n";
27 +    print STDERR "apxs:Warning: module mod_so is compiled into your server\n";
28 +    print STDERR "apxs:Warning: binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
29 +    print STDERR "apxs:Warning: Continuing anyway...\n"; }
30  }
31  }
32  
This page took 0.153901 seconds and 3 git commands to generate.