diff options
author | bjs <bjs@pkgsrc.org> | 2008-07-27 00:03:42 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2008-07-27 00:03:42 +0000 |
commit | 03aa255c8fb825c98193093706b2b492977a73e5 (patch) | |
tree | 7c65f0da0b8da23c4951cf9c284a77a1e0666911 /graphics/glx-utils/Makefile | |
parent | 99833e8c267bd82699c5bee6c48c005e0c8615a4 (diff) | |
download | pkgsrc-03aa255c8fb825c98193093706b2b492977a73e5.tar.gz |
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.
Diffstat (limited to 'graphics/glx-utils/Makefile')
-rw-r--r-- | graphics/glx-utils/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/graphics/glx-utils/Makefile b/graphics/glx-utils/Makefile index cb160b9e19d..6a3ee544755 100644 --- a/graphics/glx-utils/Makefile +++ b/graphics/glx-utils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2008/05/29 20:54:14 tnn Exp $ +# $NetBSD: Makefile,v 1.7 2008/07/27 00:03:42 bjs Exp $ DISTNAME= MesaDemos-${MESA_VERSION} PKGNAME= glx-utils-${MESA_VERSION} @@ -16,15 +16,20 @@ INSTALLATION_DIRS= bin .include "../../graphics/glu/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" +### +### XXX I don't think these are usually built with -lpthread, but +### I'm not sure. +### + do-build: cd ${WRKSRC}/progs/xdemos && \ ${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \ - ${PTHREAD_CFLAGS} glxgears.c ${LDFLAGS} ${PTHREAD_LDFLAGS} \ - -L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} \ + glxgears.c ${LDFLAGS} \ + -L../../lib -lGLU -lGL -lm -lXext \ -o glxgears && \ ${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \ - ${PTHREAD_CFLAGS} glxinfo.c ${LDFLAGS} ${PTHREAD_LDFLAGS} \ - -L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} -o glxinfo + glxinfo.c ${LDFLAGS} \ + -L../../lib -lGLU -lGL -lm -lXext -o glxinfo do-install: ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxgears \ |