$NetBSD: patch-ai,v 1.4 2001/02/02 16:39:58 jlam Exp $

--- src/support/apxs.pl.orig	Fri Feb  2 00:42:14 2001
+++ src/support/apxs.pl
@@ -427,8 +427,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
