From d3c22a33dce71de0a1a2c7effe2eeca910061f57 Mon Sep 17 00:00:00 2001 From: jschauma Date: Sun, 11 Apr 2004 19:26:01 +0000 Subject: Don't use egrep -q; instead, redirect output to /dev/null to be portable. --- graphics/Mesa/version.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics') 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"; \ -- cgit v1.2.3