diff options
Diffstat (limited to 'www/apache20/files/patch-support__apxs.in')
-rw-r--r-- | www/apache20/files/patch-support__apxs.in | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/www/apache20/files/patch-support__apxs.in b/www/apache20/files/patch-support__apxs.in deleted file mode 100644 index 239a385cf4bf..000000000000 --- a/www/apache20/files/patch-support__apxs.in +++ /dev/null @@ -1,35 +0,0 @@ ---- ./support/apxs.in.orig 2010-05-07 20:43:34.000000000 +0000 -+++ ./support/apxs.in 2010-10-21 05:40:35.682625070 +0000 -@@ -83,7 +83,6 @@ - my ($argumentative, @ARGV) = @_; - my $errs = 0; - local $_; -- local $[ = 0; - - my @args = split / */, $argumentative; - while (@ARGV && ($_ = $ARGV[0]) =~ /^-(.)(.*)/) { -@@ -614,7 +613,13 @@ - } - } else { - # replace already existing LoadModule line -- $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1$c$lmd\n|s; -+ # Custom FreeBSD mod -+ if ($opt_A) { -+ $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1|s; -+ } -+ else { -+ $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1$c$lmd\n|s; -+ } - } - $lmd =~ m|LoadModule\s+(.+?)_module.*|; - notice("[$what module `$1' in $CFG_SYSCONFDIR/$CFG_TARGET.conf]"); -@@ -631,8 +636,7 @@ - if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) { - print FP $content; - close(FP); -- system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf $CFG_SYSCONFDIR/$CFG_TARGET.conf.bak && " . -- "cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " . -+ system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " . - "rm $CFG_SYSCONFDIR/$CFG_TARGET.conf.new"); - } else { - notice("unable to open configuration file"); |