pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/Mesa Don't use egrep -q; instead, redirect o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6426acf43a94
branches: trunk
changeset: 472669:6426acf43a94
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Apr 11 19:26:01 2004 +0000
description:
Don't use egrep -q; instead, redirect output to /dev/null to be portable.
diffstat:
graphics/Mesa/version.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7af4f065aa7a -r 6426acf43a94 graphics/Mesa/version.mk
--- a/graphics/Mesa/version.mk Sun Apr 11 19:23:01 2004 +0000
+++ b/graphics/Mesa/version.mk Sun Apr 11 19:26:01 2004 +0000
@@ -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_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"; \
Home |
Main Index |
Thread Index |
Old Index