diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-04-11 19:26:01 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-04-11 19:26:01 +0000 |
commit | d51a6a245ba336d2972b3cafd02b7c085f61fd21 (patch) | |
tree | 1446b6f6980724c96be1a1a1203c4506d3039fb2 | |
parent | 54caa84df4385dc717ea714c3f667f5a01e7a725 (diff) | |
download | pkgsrc-d51a6a245ba336d2972b3cafd02b7c085f61fd21.tar.gz |
Don't use egrep -q; instead, redirect output to /dev/null to be portable.
-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"; \ |