summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-01-20 02:48:33 +0000
committerjschauma <jschauma@pkgsrc.org>2004-01-20 02:48:33 +0000
commit752229d66a77d9b9a71f08cf5034a88d9c8612b4 (patch)
tree53511c5e43e4fb10658a8b773e2d73f4ae4bf3d3 /graphics/MesaLib/Makefile
parent058cb97977edbddc82057274485296dbc0fe84d8 (diff)
downloadpkgsrc-752229d66a77d9b9a71f08cf5034a88d9c8612b4.tar.gz
Update Mesa and friends to version 6.0:
Changes since 5.2: New: - full OpenGL 1.5 support - updated GL/glext.h file to version 21 Changes: - changed max framebuffer size to 4Kx4K (MAX_WIDTH/HEIGHT in config.h) Bug fixes: - fixed bug in UNCLAMPED_FLOAT_TO_UBYTE macro; solves a color clamping issue - updated suno5-gcc configs - glColor3 functions sometimes resulted in undefined alpha values - fixed FP divide by zero error seen on VMS with xlockmore, others - fixed vertex/fragment program debug problem (bug 873011) - building on AIX with gcc works now - glDeleteProgramsARB failed for ARB fragment programs (bug 876160) - glDrawRangeElements tried to modify potentially read-only storage - updated files for building on Windows Changes since 5.0.2: New features: - reorganized directory tree - GL_ARB_vertex/fragment_program extensions (Michal Krol & Karl Rasche) - GL_ATI_texture_env_combine3 extension (Ian Romanick) - GL_SGI_texture_color_table extension (Eric Plante) - GL_NV_fragment_program extension - GL_NV_light_max_exponent extension - GL_EXT_texture_rectangle (identical to GL_NV_texture_rectangle) - GL_ARB_occlusion_query extension - GL_ARB_point_sprite extension - GL_ARB_texture_non_power_of_two extension - GL_IBM_multimode_draw_arrays extension - GL_EXT_texture_mirror_clamp extension (Ian Romanick) - GL_ARB_vertex_buffer_object extension - new X86 feature detection code (Petr Sebor) - less memory used for display lists and vertex buffers - demo of per-pixel lighting with a fragment program (demos/fplight.c) - new version (18) of glext.h header - new spriteblast.c demo of GL_ARB_point_sprite - faster glDrawPixels in X11 driver in some cases (see RELNOTES-5.1) - faster glCopyPixels in X11 driver in some cases (see RELNOTES-5.1) Bug fixes: - really enable OpenGL 1.4 features in DOS driver. - fixed issues in glDrawPixels and glCopyPixels for very wide images - glPixelMapf/ui/usv()'s size parameter is GLsizei, not GLint - fixed some texgen bugs reported by Daniel Borca - fixed wglMakeCurrent(NULL, NULL) bug (#835861) - fixed glTexSubImage3D z-offset bug (Cedric Gautier) - fixed RGBA blend enable bug (Ville Syrjala) - glAccum is supposed to be a no-op in selection/feedback mode - fixed texgen bug #597589 (John Popplewell) Changes: - dropped API trace feature (src/Trace/) - documentation overhaul. merged with website content. more html. - glxgears.c demo updated to use GLX swap rate extensions - glTexImage1/2/3D now allows width/height/depth = 0 - disable SPARC asm code on Linux (bug 852204)
Diffstat (limited to 'graphics/MesaLib/Makefile')
-rw-r--r--graphics/MesaLib/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile
index 556ddae69d5..d1cb9c3c4d5 100644
--- a/graphics/MesaLib/Makefile
+++ b/graphics/MesaLib/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2004/01/05 11:47:33 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2004/01/20 02:48:33 jschauma Exp $
PKGNAME= MesaLib-${MESA_VERSION}
-PKGREVISION= 2
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
MAINTAINER= rh@NetBSD.org
COMMENT= Graphics library similar to SGI's OpenGL
@@ -12,12 +11,11 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_X11= yes
-USE_PKGINSTALL= yes
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+= --without-glut
-CONF_FILES= ${PREFIX}/share/examples/mesa/mesa.conf \
- ${PKG_SYSCONFDIR}/mesa.conf
-BUILD_DIRS= ${WRKSRC}/src
+#USE_PKGINSTALL= yes
+#CONF_FILES= ${PREFIX}/share/examples/mesa/mesa.conf \
+# ${PKG_SYSCONFDIR}/mesa.conf
+
+INSTLIBS= libGL.so.1.5 libGLw.so.1.0 libOSMesa.so.6.0
.include "../../mk/bsd.prefs.mk"
@@ -26,7 +24,10 @@ BUILD_DIRS= ${WRKSRC}/src
CONFIGURE_ARGS+= --disable-sparc
.endif
-post-install:
+pre-build:
+ ${RM} -fr ${WRKSRC}/src/glu
+
+do-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/GL
cd ${WRKSRC}/include/GL; for hdr in \
gl.h gl_mangle.h glext.h glx.h glxext.h glx_mangle.h \