pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/Mesa Use full path to sysctl(8), an unprivile...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/706a7476d124
branches:  trunk
changeset: 541859:706a7476d124
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Apr 26 20:38:49 2008 +0000

description:
Use full path to sysctl(8), an unprivileged user may not have /sbin in $PATH

diffstat:

 graphics/Mesa/Makefile.lib |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 362e5801d3ab -r 706a7476d124 graphics/Mesa/Makefile.lib
--- a/graphics/Mesa/Makefile.lib        Sat Apr 26 17:40:01 2008 +0000
+++ b/graphics/Mesa/Makefile.lib        Sat Apr 26 20:38:49 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.lib,v 1.7 2008/04/24 07:40:23 bjs Exp $
+# $NetBSD: Makefile.lib,v 1.8 2008/04/26 20:38:49 tnn Exp $
 #
 # This Makefile fragment is included by all packages that build libraries
 # from the Mesa sources.
@@ -42,7 +42,7 @@
 MAKE_ENV+=     MESA_HZ=${MESA_HZ:Q}
 .if ${OPSYS} == "NetBSD" && exists(/sbin/sysctl)
 tmphz=\
-       ${sysctl kern.clockrate || ${TRUE}\
+       ${/sbin/sysctl kern.clockrate || ${TRUE}\
        :L:sh:ts,:S/,//gW:C/([^[0-9]]*)(=|[^ hz])*([^[0-9])//g:M[0-9]*}
 .  if !empty(tmphz) && (${tmphz} > 50) && (${tmphz} < 2001)
 MESA_HZ=       ${tmphz}



Home | Main Index | Thread Index | Old Index