summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2003-09-29 21:30:28 +0000
committerjschauma <jschauma@pkgsrc.org>2003-09-29 21:30:28 +0000
commitb949499421d3acfada46e823c64d06ec2c9ca15a (patch)
tree4bfbc2f1fba06ea9b1929d15bfda89c0f9e93391 /graphics/Mesa
parent73561c43c1faa3e4909f34ec12b32c27be5bb8fb (diff)
downloadpkgsrc-b949499421d3acfada46e823c64d06ec2c9ca15a.tar.gz
Update Mesa and friends to latest version 5.0.2:
- fixed texgen problem causing texcoord's Q to be zero (stex3d) - default GL_TEXTURE_COMPARE_MODE_ARB was wrong - GL_CURRENT_MATRIX_NV query was wrong - GL_CURRENT_MATRIX_STACK_DEPTH_NV query was off by one - GL_LIST_MODE query wasn't correct - GL_FOG_COORDINATE_SOURCE_EXT query wasn't supported - GL_SECONDARY_COLOR_ARRAY_SIZE_EXT query returned wrong value - blended, wide lines didn't always work correctly - glVertexAttrib4svNV w component was always 1 - fixed bug in GL_IBM_rasterpos_clip (missing return) - GL_DEPTH_TEXTURE_MODE = GL_ALPHA didn't work correctly - a few Solaris compilation fixes - fixed glClear() problem for DRI drivers (non-existant stencil, etc) - fixed int/REAL mixup in GLU NURBS curve evaluator (Eric Cazeaux) - fixed delete [] bug in SI GLU (bug 721765) (Diego Santa Cruz) - glFog() didn't clamp fog colors - fixed bad float/int conversion for GL_TEXTURE_PRIORITY in the gl[Get]TexParameteri[v] functions - fixed invalid memory references in glTexGen functions (bug 781602) - integer-valued color arrays weren't handled correctly - glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't work - GL_EXT_texture_lod_bias is part of 1.4, overlooked in 5.0.1 - build GLUT with -fexceptions so C++ apps propogate exceptions While here, fix PR pkg/23003 by moving the version number to version.mk and including that in the buildlink.
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile4
-rw-r--r--graphics/Mesa/Makefile.common11
-rw-r--r--graphics/Mesa/version.mk4
3 files changed, 15 insertions, 4 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile
index c00e8b49422..bab6c4d83ac 100644
--- a/graphics/Mesa/Makefile
+++ b/graphics/Mesa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2003/08/26 01:43:51 jschauma Exp $
+# $NetBSD: Makefile,v 1.52 2003/09/29 21:30:28 jschauma Exp $
#
PKGNAME= Mesa-${MESA_VERSION}
@@ -10,6 +10,8 @@ COMMENT= Graphics library meta package, similar to SGI's OpenGL
CONFLICTS= Mesa-glx-[0-9]*
+pre-patch: # empty
+
.include "Makefile.common"
USE_BUILDLINK2= yes
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common
index 5fcb0d3386b..54b6faa165b 100644
--- a/graphics/Mesa/Makefile.common
+++ b/graphics/Mesa/Makefile.common
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile.common,v 1.18 2003/08/26 01:43:51 jschauma Exp $
+# $NetBSD: Makefile.common,v 1.19 2003/09/29 21:30:28 jschauma Exp $
-MESA_VERSION= 5.0.1
DISTNAME?= MesaLib-${MESA_VERSION}
CATEGORIES?= graphics
MASTER_SITES?= ${MASTER_SITE_SOURCEFORGE:=mesa3d/}
@@ -9,6 +8,7 @@ EXTRACT_SUFX?= .tar.bz2
MAINTAINER?= tech-pkg@NetBSD.org
HOMEPAGE?= http://www.mesa3d.org/
+AUTOMAKE_REQD= 1.4
USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
@@ -16,4 +16,11 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
GNU_CONFIGURE?= yes
CONFIGURE_ARGS+= --enable-static
+.if !target(pre-patch)
+pre-patch:
+ cd ${WRKSRC} && ${ACLOCAL} && ${AUTOMAKE}
+.endif
+
+.include "../../graphics/Mesa/version.mk"
+.include "../../mk/automake.mk"
.include "../../mk/bsd.prefs.mk"
diff --git a/graphics/Mesa/version.mk b/graphics/Mesa/version.mk
index 7ac254c209d..857989c0a78 100644
--- a/graphics/Mesa/version.mk
+++ b/graphics/Mesa/version.mk
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.1 2002/11/20 22:13:21 jlam Exp $
+# $NetBSD: version.mk,v 1.2 2003/09/29 21:30:28 jschauma Exp $
#
# This file computes the version number of the Mesa distributed with
# XFree86 and stores it in ${_MESA_VERSION}.
@@ -8,6 +8,8 @@
.if !defined(MESA_VERSION_MK)
MESA_VERSION_MK= # defined
+MESA_VERSION= 5.0.2
+
.include "../../mk/bsd.prefs.mk"
_GL_GLEXT_H= ${X11BASE}/include/GL/glext.h