$NetBSD: patch-ai,v 1.8 2002/04/02 14:13:03 jlam Exp $

--- src/support/apxs.pl.orig	Tue Apr  2 02:15:23 2002
+++ src/support/apxs.pl
@@ -460,8 +460,7 @@
         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 {