From acf539a2f55f9214da800a2fd55ebe2468354985 Mon Sep 17 00:00:00 2001 From: bjs Date: Sun, 27 Jul 2008 00:03:42 +0000 Subject: Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT). Basically, lots of bug fixes; the intent of my update was mostly to fix problems with i915 and r300 dri drivers and to provide the best environment possible for the xorg server update to the 1.4 branch. Morever, many of our patches from pkgsrc, i.e. those removed in this commit, are now included upstream. Additionally, MesaDemos now builds. NOTES: - MesaLib now requires xf86driproto 2.0.4, as earlier versions install dri_interface.h, which is not correct. - glu now exports its symbols via libtool's -export-symfile. The symfile is generated pre-build--see glu/Makefile. - glxinfo/glxgears do not seem to need to be linked to libpthread, and this seems to cause problems on NetBSD with the new drm code. If I am wrong about this, please let me know. The only program that seems to need libpthread is glthreads in MesaDemos. --- graphics/glu/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'graphics/glu') diff --git a/graphics/glu/Makefile b/graphics/glu/Makefile index 5600f5d380e..83aa7f460cc 100644 --- a/graphics/glu/Makefile +++ b/graphics/glu/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.52 2008/06/27 13:24:39 tnn Exp $ +# $NetBSD: Makefile,v 1.53 2008/07/27 00:03:42 bjs Exp $ PKGNAME= glu-${MESA_PKGVERSION} -PKGREVISION= 1 COMMENT= GLU polygon tessellation facility for Mesa CONFLICTS+= Mesa-glx-[0-9]* @@ -14,6 +13,10 @@ MESA_HEADERS= glu.h glu_mangle.h BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=${MESA_VERSION} .include "../../graphics/MesaLib/buildlink3.mk" +post-extract: + ${GREP} '^[[:cntrl:]][g][l][u]' ${WRKSRC}/src/glu/sgi/glu.def \ + | ${SED} -e 's,^[[:cntrl:]],,' > ${WRKSRC}/src/glu/sgi/glu.sym + pre-build: cd ${WRKSRC} && ${RM} -fr src/glx src/mesa src/glut src/glw progs -- cgit v1.2.3