summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-04-11 19:26:01 +0000
committerjschauma <jschauma@pkgsrc.org>2004-04-11 19:26:01 +0000
commit39b05c40cf85bb0e1c54e8be24181ad728ebcaf5 (patch)
tree1446b6f6980724c96be1a1a1203c4506d3039fb2 /graphics/Mesa
parentdc7fa185b340eed0dfe75f93c5a3877d267969c7 (diff)
downloadpkgsrc-39b05c40cf85bb0e1c54e8be24181ad728ebcaf5.tar.gz
Don't use egrep -q; instead, redirect output to /dev/null to be portable.
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/version.mk4
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"; \