$NetBSD: patch-ai,v 1.3 2000/09/12 14:17:33 jlam Exp $

--- src/support/apxs.pl.orig	Thu Sep  7 01:19:50 2000
+++ src/support/apxs.pl
@@ -424,8 +424,7 @@
         my $t = $f;
         $t =~ s|^.+/([^/]+)$|$1|;
         if ($opt_i) {
-            push(@cmds, "cp $f $CFG_LIBEXECDIR/$t");
-            push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
+            push(@cmds, "install -c -m 555 -o root -g wheel $f $CFG_LIBEXECDIR/$t");
         }
 
         #   determine module symbolname and filename
