diff options
author | tnn <tnn@pkgsrc.org> | 2008-04-26 20:38:49 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-04-26 20:38:49 +0000 |
commit | f7c0145c22500b351a2103e3b1a5c045f0f8db35 (patch) | |
tree | 19f9185585377754f18fd2a07912faeeb0bd8502 /graphics/Mesa | |
parent | 451f0436c4ce0abb533c77aa0d0a86f84616a957 (diff) | |
download | pkgsrc-f7c0145c22500b351a2103e3b1a5c045f0f8db35.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.lib | 4 |
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} |