diff options
author | jschauma <jschauma> | 2004-04-11 19:26:01 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2004-04-11 19:26:01 +0000 |
commit | d3c22a33dce71de0a1a2c7effe2eeca910061f57 (patch) | |
tree | 1446b6f6980724c96be1a1a1203c4506d3039fb2 /graphics | |
parent | 732207621c6f822d7b7a3cf68981aec6952717f3 (diff) | |
download | pkgsrc-d3c22a33dce71de0a1a2c7effe2eeca910061f57.tar.gz |
Don't use egrep -q; instead, redirect output to /dev/null to be portable.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Mesa/version.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/Mesa/version.mk b/graphics/Mesa/version.mk index 0a8f6acfdab..e65b21fb8e2 100644 --- a/graphics/Mesa/version.mk +++ b/graphics/Mesa/version.mk @@ -1,4 +1,4 @@ -# $NetBSD: version.mk,v 1.8 2004/03/15 17:38:10 jlam Exp $ +# $NetBSD: version.mk,v 1.9 2004/04/11 19:26:01 jschauma Exp $ # # This file computes the version number of the Mesa distributed with # XFree86 and stores it in ${_MESA_VERSION}. @@ -17,7 +17,7 @@ _MESA_GL_VERSIONS= 1.2 1.3 1.4 1.5 _MESA_GL_VERSION_${_glvers_}?= no . if exists(${_GL_GL_H}) _MESA_GL_VERSION_${_glvers_}!= \ - if ${EGREP} -q "\#define[ ]*GL_VERSION_${_glvers_:S/./_/}[ ]*1" ${_GL_GL_H}; then \ + if ${EGREP} "\#define[ ]*GL_VERSION_${_glvers_:S/./_/}[ ]*1" ${_GL_GL_H} >/dev/null 2>&1; then \ ${ECHO} "yes"; \ else \ ${ECHO} "no"; \ |