summaryrefslogtreecommitdiff
path: root/www/apache/patches/patch-ai
blob: 9fdc9aa579fb8962c9b19a82e310349205e96e80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ai,v 1.11 2008/02/23 05:16:34 obache Exp $

--- src/support/apxs.pl.orig	2008-02-23 04:22:56.000000000 +0000
+++ src/support/apxs.pl
@@ -424,8 +424,7 @@ if ($opt_i or $opt_e) {
         if ($^O ne "MSWin32") {
             $t =~ s|^.+/([^/]+)$|$1|;
             if ($opt_i) {
-                push(@cmds, "cp $f $CFG_LIBEXECDIR/$t");
-                push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
+                push(@cmds, "@INSTALL@ $f $CFG_LIBEXECDIR/$t");
             }
         }
 	else {