summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authortnn <tnn>2008-04-26 20:38:49 +0000
committertnn <tnn>2008-04-26 20:38:49 +0000
commit04b3a45c25221995050710fe5a6bcf3d806aecce (patch)
tree19f9185585377754f18fd2a07912faeeb0bd8502 /graphics/Mesa
parent1c812f825c9653c8d251df6fd9116a453d7e326b (diff)
downloadpkgsrc-04b3a45c25221995050710fe5a6bcf3d806aecce.tar.gz
Use full path to sysctl(8), an unprivileged user may not have /sbin in $PATH
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/Mesa/Makefile.lib b/graphics/Mesa/Makefile.lib
index 2e97e54c9d0..9805d806e5c 100644
--- a/graphics/Mesa/Makefile.lib
+++ b/graphics/Mesa/Makefile.lib
@@ -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 @@ MESA_HZ?= 100
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}