pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/Mesa If ${_GL_GLEXT_H} doesn't exist, just se...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8b0712ba69d5
branches: trunk
changeset: 462596:8b0712ba69d5
user: atatat <atatat%pkgsrc.org@localhost>
date: Sun Oct 05 21:52:42 2003 +0000
description:
If ${_GL_GLEXT_H} doesn't exist, just set everything to NO. Otherwise
egrep emits error messages.
diffstat:
graphics/Mesa/version.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 554ea410deaa -r 8b0712ba69d5 graphics/Mesa/version.mk
--- a/graphics/Mesa/version.mk Sun Oct 05 21:22:49 2003 +0000
+++ b/graphics/Mesa/version.mk Sun Oct 05 21:52:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.2 2003/09/29 21:30:28 jschauma Exp $
+# $NetBSD: version.mk,v 1.3 2003/10/05 21:52:42 atatat Exp $
#
# This file computes the version number of the Mesa distributed with
# XFree86 and stores it in ${_MESA_VERSION}.
@@ -15,12 +15,16 @@
_GL_GLEXT_H= ${X11BASE}/include/GL/glext.h
_MESA_GL_VERSIONS= 1.2 1.3 1.4
.for _glvers_ in ${_MESA_GL_VERSIONS}
+.if !exists(${_GL_GLEXT_H})
+_MESA_GL_VERSION_${_glvers_}= NO
+.else
_MESA_GL_VERSION_${_glvers_}!= \
if ${EGREP} -q "\#define[ ]*GL_VERSION_${_glvers_:S/./_/}[ ]*1" ${_GL_GLEXT_H}; then \
${ECHO} YES; \
else \
${ECHO} NO; \
fi
+.endif
.endfor
#
# According to the Mesa documentation, for stable releases:
Home |
Main Index |
Thread Index |
Old Index